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.001746/0.001746, allocations: 75.77 kB / 20.53 MB, free: 1.105 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.001855/0.001855, allocations: 164.5 kB / 23.78 MB, free: 4.184 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.35/1.35, allocations: 158.6 MB / 185.5 MB, free: 6.242 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.5549/0.5549, allocations: 76.97 MB / 314.7 MB, free: 12.72 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.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.002352/0.002352, allocations: 68.67 kB / 490.2 MB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 75.96 MB / 0.5529 GB, free: 12.33 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01535/0.1299, allocations: 11.26 MB / 0.5639 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1419, allocations: 6.232 MB / 0.57 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.1445, allocations: 91.31 kB / 0.5701 GB, free: 10.67 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002065/0.1465, allocations: 0.6738 MB / 0.5707 GB, free: 9.992 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003177/0.1497, allocations: 0.9155 MB / 0.5716 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.1558, allocations: 2.875 MB / 0.5744 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006668/0.1625, allocations: 4.65 MB / 0.579 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.1647, allocations: 1.112 MB / 0.58 GB, free: 384 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.1671, allocations: 1.697 MB / 0.5817 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.1697, allocations: 1.554 MB / 0.5832 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.1707, allocations: 0.4922 MB / 0.5837 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.172, allocations: 0.6991 MB / 0.5844 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.173, allocations: 0.9967 MB / 0.5854 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.1746, allocations: 1.492 MB / 0.5868 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.1821, allocations: 6.095 MB / 0.5928 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1821, allocations: 0 / 0.5928 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1821, allocations: 0 / 0.5928 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001036/0.1823, allocations: 4 kB / 0.5928 GB, free: 3.297 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.01208/0.1943, allocations: 4.626 MB / 0.5973 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1944, allocations: 8.031 kB / 0.5973 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.1993, allocations: 0.9235 MB / 0.5982 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.2048, allocations: 2.432 MB / 0.6006 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000848/0.2056, allocations: 0.8666 MB / 0.6014 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.2064, allocations: 244 kB / 0.6016 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.2138, allocations: 3.625 MB / 0.6052 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.2138, allocations: 7.938 kB / 0.6052 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.2141, allocations: 104 kB / 0.6053 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.2141, allocations: 60 kB / 0.6054 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/0.2204, allocations: 2.592 MB / 0.6079 GB, free: 3.168 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.01677/0.2372, allocations: 9.613 MB / 0.6173 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/0.2437, allocations: 2.456 MB / 0.6197 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.2464, allocations: 1.125 MB / 0.6208 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.2466, allocations: 29.98 kB / 0.6208 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003506/0.2501, allocations: 1.711 MB / 0.6225 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=197): time 4.678e-06/0.2501, allocations: 0 / 0.6225 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.01149/0.2616, allocations: 4.112 MB / 0.6265 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003212/0.2619, allocations: 0.4928 MB / 0.627 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.2665, allocations: 2.595 MB / 0.6295 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.267, allocations: 77.69 kB / 0.6296 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.2686, allocations: 1.475 MB / 0.631 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.2697, allocations: 0.6817 MB / 0.6317 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007867/0.2705, allocations: 391.8 kB / 0.6321 GB, free: 9.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2707, allocations: 305.1 kB / 0.6323 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/0.2735, allocations: 1.12 MB / 0.6334 GB, free: 8.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.2771, allocations: 2.018 MB / 0.6354 GB, free: 6.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01998/0.2971, allocations: 5.838 MB / 0.6411 GB, free: 204 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.2971, allocations: 0 / 0.6411 GB, free: 204 kB / 0.545 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009637/0.3068, allocations: 3.412 MB / 0.6444 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.3068, allocations: 33.7 kB / 0.6445 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.3068, allocations: 12 kB / 0.6445 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005517/0.3074, allocations: 325.3 kB / 0.6448 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.3103, allocations: 0.507 MB / 0.6453 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.036e-05/0.3103, allocations: 31.92 kB / 0.6453 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.3132, allocations: 310.6 kB / 0.6456 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.3135, allocations: 80 kB / 0.6457 GB, free: 11.47 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00488/0.3184, allocations: 1.716 MB / 0.6474 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003477/0.3219, allocations: 1.955 MB / 0.6493 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01897/0.3408, allocations: 5.689 MB / 0.6548 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-05/0.3409, allocations: 4 kB / 0.6548 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.008842/0.3497, allocations: 3.299 MB / 0.6581 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.3497, allocations: 37.89 kB / 0.6581 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.3498, allocations: 15.94 kB / 0.6581 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.3503, allocations: 328.7 kB / 0.6584 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.353, allocations: 0.4914 MB / 0.6589 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.071e-05/0.3531, allocations: 27.92 kB / 0.6589 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.3555, allocations: 302.7 kB / 0.6592 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.3557, allocations: 83.92 kB / 0.6593 GB, free: 13.03 MB / 0.5762 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.0009172/0.3566, allocations: 485.5 kB / 0.6598 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/0.3574, allocations: 322 kB / 0.6601 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/0.3659, allocations: 3.173 MB / 0.6632 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.3659, allocations: 20 kB / 0.6632 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.366, allocations: 7.938 kB / 0.6632 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.366, allocations: 11.95 kB / 0.6632 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.3803, allocations: 6.012 MB / 0.6691 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3803, allocations: 0 / 0.6691 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/0.3832, allocations: 435.4 kB / 0.6695 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/0.3837, allocations: 304.7 kB / 0.6698 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.3839, allocations: 51.97 kB / 0.6698 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/0.384, allocations: 8 kB / 0.6698 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.384, allocations: 3.938 kB / 0.6698 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.3956, allocations: 4.794 MB / 0.6745 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.3973, allocations: 0.6224 MB / 0.6751 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/0.3978, allocations: 56 kB / 0.6752 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.3998, allocations: 199.8 kB / 0.6754 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004769/0.4003, allocations: 205.7 kB / 0.6756 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.4005, allocations: 75.95 kB / 0.6756 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003411/0.4039, allocations: 1.719 MB / 0.6773 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4039, allocations: 0 / 0.6773 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003701/0.4076, allocations: 1.157 MB / 0.6785 GB, free: 9.246 MB / 0.5919 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.001914/0.4095, allocations: 0.5005 MB / 0.6789 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01098/0.4205, allocations: 4.248 MB / 0.6831 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/0.4205, allocations: 8.312 kB / 0.6831 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/0.4241, allocations: 1.415 MB / 0.6845 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.4271, allocations: 0.5118 MB / 0.685 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2509/0.678, allocations: 6.02 MB / 0.6909 GB, free: 129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.6792, allocations: 1.294 MB / 0.6921 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001865/0.681, allocations: 368.6 kB / 0.6925 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.6817, allocations: 185.7 kB / 0.6927 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.6817, allocations: 0 / 0.6927 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.05624/0.7379, allocations: 37.86 MB / 0.7296 GB, free: 105.8 MB / 0.5919 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 -s ida -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.795789850992151] Failed to read output from testmodel.py, exit status != 0: 0.7470198509981856 0.7575826480000001 0.572949006 Calling exit ...