Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 75.64 kB / 19.96 MB, free: 1.746 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.001573/0.001573, allocations: 171.4 kB / 23.24 MB, free: 4.855 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.325/1.325, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.4481/0.4481, allocations: 76.93 MB / 314.2 MB, free: 7.961 MB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 489.7 MB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.924e-05, allocations: 10.22 kB / 489.7 MB, free: 15.42 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01512/0.01515, allocations: 10.66 MB / 0.4887 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.02784, allocations: 5.998 MB / 0.4945 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.03087, allocations: 90 kB / 0.4946 GB, free: 3.695 MB / 414.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.003071/0.03394, allocations: 0.6433 MB / 0.4953 GB, free: 3.148 MB / 414.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.004011/0.03795, allocations: 0.9137 MB / 0.4961 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006564/0.04451, allocations: 2.781 MB / 0.4989 GB, free: 132 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007385/0.0519, allocations: 4.364 MB / 0.5031 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.05481, allocations: 1.05 MB / 0.5042 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.0574, allocations: 1.467 MB / 0.5056 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.05937, allocations: 1.21 MB / 0.5068 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007696/0.06014, allocations: 475.9 kB / 0.5072 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.06137, allocations: 0.6715 MB / 0.5079 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008874/0.06226, allocations: 0.9537 MB / 0.5088 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.06365, allocations: 1.145 MB / 0.5099 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007126/0.07077, allocations: 5.838 MB / 0.5156 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.07078, allocations: 0 / 0.5156 GB, free: 1.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07078, allocations: 8 kB / 0.5156 GB, free: 1.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.07088, allocations: 0 / 0.5156 GB, free: 1.25 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01129/0.08217, allocations: 4.346 MB / 0.5199 GB, free: 12.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.08221, allocations: 8.031 kB / 0.5199 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.08696, allocations: 0.8807 MB / 0.5207 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.09133, allocations: 2.297 MB / 0.523 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007442/0.09208, allocations: 0.8393 MB / 0.5238 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.09253, allocations: 225.3 kB / 0.524 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006556/0.09908, allocations: 3.404 MB / 0.5273 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.09913, allocations: 3.938 kB / 0.5273 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.09941, allocations: 103.9 kB / 0.5274 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.09946, allocations: 52 kB / 0.5275 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/0.1057, allocations: 2.446 MB / 0.5299 GB, free: 2.039 MB / 446.1 MB 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.01699/0.1227, allocations: 8.689 MB / 0.5384 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007177/0.1299, allocations: 2.371 MB / 0.5407 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.1327, allocations: 1.078 MB / 0.5417 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.1328, allocations: 25.98 kB / 0.5418 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003644/0.1365, allocations: 1.658 MB / 0.5434 GB, free: 3.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 5.009e-06/0.1365, allocations: 0 / 0.5434 GB, free: 3.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=185): time 0.01191/0.1484, allocations: 3.967 MB / 0.5473 GB, free: 15.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003021/0.1487, allocations: 496.6 kB / 0.5477 GB, free: 15.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/0.1529, allocations: 2.458 MB / 0.5501 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003483/0.1532, allocations: 69.7 kB / 0.5502 GB, free: 12.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.1547, allocations: 1.392 MB / 0.5516 GB, free: 11.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.1556, allocations: 0.6236 MB / 0.5522 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007624/0.1563, allocations: 359.4 kB / 0.5525 GB, free: 10.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1565, allocations: 305.1 kB / 0.5528 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.1592, allocations: 1.064 MB / 0.5538 GB, free: 9.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.1627, allocations: 1.933 MB / 0.5557 GB, free: 6.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/0.1823, allocations: 5.57 MB / 0.5612 GB, free: 1.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.1823, allocations: 0 / 0.5612 GB, free: 1.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009033/0.1913, allocations: 3.233 MB / 0.5643 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.1914, allocations: 41.69 kB / 0.5644 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1914, allocations: 11.94 kB / 0.5644 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.192, allocations: 325.3 kB / 0.5647 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.1949, allocations: 487.2 kB / 0.5652 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/0.1949, allocations: 27.94 kB / 0.5652 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.1975, allocations: 298.7 kB / 0.5655 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.1978, allocations: 79.98 kB / 0.5655 GB, free: 12.61 MB / 494.1 MB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004226/0.202, allocations: 1.632 MB / 0.5671 GB, free: 10.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00331/0.2053, allocations: 1.863 MB / 0.569 GB, free: 8.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01876/0.2241, allocations: 5.434 MB / 0.5743 GB, free: 3.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.179e-05/0.2241, allocations: 4 kB / 0.5743 GB, free: 3.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.008331/0.2324, allocations: 3.123 MB / 0.5773 GB, free: 104 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.2325, allocations: 42.5 kB / 0.5774 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2325, allocations: 8 kB / 0.5774 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.233, allocations: 320.7 kB / 0.5777 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.2356, allocations: 475.3 kB / 0.5781 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/0.2357, allocations: 31.92 kB / 0.5781 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.238, allocations: 278.9 kB / 0.5784 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.2382, allocations: 79.92 kB / 0.5785 GB, free: 14.88 MB / 0.4981 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008492/0.239, allocations: 486.8 kB / 0.579 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/0.2396, allocations: 302.1 kB / 0.5792 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00829/0.2479, allocations: 3.058 MB / 0.5822 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.2479, allocations: 16 kB / 0.5822 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.2479, allocations: 4 kB / 0.5822 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.248, allocations: 11.95 kB / 0.5823 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.2612, allocations: 5.766 MB / 0.5879 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2612, allocations: 0 / 0.5879 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/0.2641, allocations: 415.5 kB / 0.5883 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.2646, allocations: 308.6 kB / 0.5886 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.2648, allocations: 55.98 kB / 0.5886 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.2648, allocations: 8 kB / 0.5886 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2648, allocations: 0 / 0.5886 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.2763, allocations: 4.617 MB / 0.5932 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.2779, allocations: 0.5914 MB / 0.5937 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.2784, allocations: 59.94 kB / 0.5938 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.2803, allocations: 195.7 kB / 0.594 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/0.2808, allocations: 197.7 kB / 0.5942 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/0.2809, allocations: 67.95 kB / 0.5942 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002853/0.2838, allocations: 1.636 MB / 0.5958 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2838, allocations: 0 / 0.5958 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002944/0.2867, allocations: 1.075 MB / 0.5969 GB, free: 11.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001771/0.2885, allocations: 0.5021 MB / 0.5974 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.2985, allocations: 4.051 MB / 0.6013 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2986, allocations: 4 kB / 0.6013 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.3019, allocations: 1.365 MB / 0.6027 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.3044, allocations: 498.7 kB / 0.6031 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.316, allocations: 5.539 MB / 0.6085 GB, free: 24 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.3174, allocations: 1.202 MB / 0.6097 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001724/0.3191, allocations: 344.6 kB / 0.61 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007383/0.3198, allocations: 192.3 kB / 0.6102 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.3198, allocations: 0 / 0.6102 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.06583/0.3857, allocations: 36.29 MB / 0.6457 GB, free: 10.1 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.504927102476358] Failed to read output from testmodel.py, exit status != 0: 0.3952941782772541 0.40975775999999997 0.335680697 Calling exit ...