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.001825/0.001825, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.002456/0.002456, allocations: 223.6 kB / 23.77 MB, free: 4.422 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.861/1.861, allocations: 207.7 MB / 234.6 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.6522/0.6522, allocations: 103.8 MB / 390.7 MB, free: 21.2 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.002421/0.002421, allocations: 71.27 kB / 0.5529 GB, free: 58.38 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1714, allocations: 75.98 MB / 0.6271 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01323/0.1846, allocations: 11.26 MB / 0.6381 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1988, allocations: 6.224 MB / 0.6442 GB, free: 7.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/0.2034, allocations: 91.31 kB / 0.6442 GB, free: 6.957 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.00294/0.2064, allocations: 0.6852 MB / 0.6449 GB, free: 6.27 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.005129/0.2115, allocations: 0.9193 MB / 0.6458 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007336/0.2188, allocations: 2.875 MB / 0.6486 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008399/0.2272, allocations: 4.638 MB / 0.6531 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.2298, allocations: 1.112 MB / 0.6542 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.2329, allocations: 1.7 MB / 0.6559 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.2353, allocations: 1.558 MB / 0.6574 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006979/0.2359, allocations: 0.4922 MB / 0.6579 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.2373, allocations: 0.6991 MB / 0.6586 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009728/0.2383, allocations: 1.001 MB / 0.6596 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.2399, allocations: 1.488 MB / 0.661 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.2481, allocations: 6.095 MB / 0.667 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2481, allocations: 3.938 kB / 0.667 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2481, allocations: 4 kB / 0.667 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000165/0.2482, allocations: 0 / 0.667 GB, free: 15.56 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.01272/0.261, allocations: 4.622 MB / 0.6715 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.261, allocations: 8.031 kB / 0.6715 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.2654, allocations: 0.9156 MB / 0.6724 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.2706, allocations: 2.44 MB / 0.6748 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009346/0.2715, allocations: 0.8627 MB / 0.6756 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/0.272, allocations: 244 kB / 0.6758 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007255/0.2792, allocations: 3.627 MB / 0.6794 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.2793, allocations: 4 kB / 0.6794 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.2795, allocations: 108 kB / 0.6795 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.2796, allocations: 59.94 kB / 0.6795 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006129/0.2857, allocations: 2.592 MB / 0.6821 GB, free: 15.45 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.01975/0.3055, allocations: 9.617 MB / 0.6915 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.3123, allocations: 2.463 MB / 0.6939 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.315, allocations: 1.124 MB / 0.695 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.3151, allocations: 30 kB / 0.695 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003738/0.3189, allocations: 1.705 MB / 0.6967 GB, free: 244 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.981e-06/0.3189, allocations: 8 kB / 0.6967 GB, free: 236 kB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01163/0.3305, allocations: 4.116 MB / 0.7007 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003599/0.3309, allocations: 496.6 kB / 0.7012 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00654/0.3374, allocations: 2.599 MB / 0.7037 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.3378, allocations: 73.7 kB / 0.7038 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.3398, allocations: 1.486 MB / 0.7052 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.341, allocations: 0.6663 MB / 0.7059 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.3421, allocations: 391.8 kB / 0.7063 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3423, allocations: 305.1 kB / 0.7065 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.3453, allocations: 1.124 MB / 0.7076 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.349, allocations: 2.022 MB / 0.7096 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.3682, allocations: 5.842 MB / 0.7153 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/0.3682, allocations: 4 kB / 0.7153 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00985/0.3781, allocations: 3.401 MB / 0.7186 GB, free: 9.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.3781, allocations: 37.7 kB / 0.7187 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.3782, allocations: 8 kB / 0.7187 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.3788, allocations: 324.8 kB / 0.719 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.3815, allocations: 0.5149 MB / 0.7195 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.876e-05/0.3815, allocations: 23.94 kB / 0.7195 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.3843, allocations: 314.6 kB / 0.7198 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.3846, allocations: 83.98 kB / 0.7199 GB, free: 7.734 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.004616/0.3893, allocations: 1.699 MB / 0.7216 GB, free: 6.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003592/0.3928, allocations: 1.967 MB / 0.7235 GB, free: 3.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01865/0.4115, allocations: 5.678 MB / 0.729 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.022e-05/0.4115, allocations: 7.984 kB / 0.729 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.01022/0.4217, allocations: 3.303 MB / 0.7323 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.4218, allocations: 37.64 kB / 0.7323 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.4218, allocations: 19.98 kB / 0.7323 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.4224, allocations: 321.4 kB / 0.7326 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.425, allocations: 499.3 kB / 0.7331 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-05/0.425, allocations: 27.92 kB / 0.7331 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.4279, allocations: 302.8 kB / 0.7334 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.4281, allocations: 79.98 kB / 0.7335 GB, free: 9.301 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.001264/0.4294, allocations: 495.2 kB / 0.734 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/0.4306, allocations: 322 kB / 0.7343 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/0.4394, allocations: 3.169 MB / 0.7374 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.4395, allocations: 16 kB / 0.7374 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.4395, allocations: 7.938 kB / 0.7374 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.4395, allocations: 11.95 kB / 0.7374 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.4559, allocations: 6.024 MB / 0.7433 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.4559, allocations: 0 / 0.7433 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/0.4586, allocations: 427.5 kB / 0.7437 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/0.4591, allocations: 308.7 kB / 0.744 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/0.4594, allocations: 51.97 kB / 0.744 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.49e-05/0.4594, allocations: 11.94 kB / 0.744 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4594, allocations: 0 / 0.744 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.4715, allocations: 4.806 MB / 0.7487 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/0.4738, allocations: 0.6224 MB / 0.7493 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000942/0.4747, allocations: 59.98 kB / 0.7494 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.4771, allocations: 191.8 kB / 0.7496 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/0.4776, allocations: 205.8 kB / 0.7498 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.4778, allocations: 67.91 kB / 0.7498 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004795/0.4826, allocations: 1.722 MB / 0.7515 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4826, allocations: 4 kB / 0.7515 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005259/0.4879, allocations: 1.157 MB / 0.7527 GB, free: 5.516 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.002116/0.49, allocations: 0.4931 MB / 0.7531 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.5014, allocations: 4.271 MB / 0.7573 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.5014, allocations: 0 / 0.7573 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.5053, allocations: 1.427 MB / 0.7587 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.005021/0.5103, allocations: 0.5164 MB / 0.7592 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.5305, allocations: 6.098 MB / 0.7652 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003673/0.5342, allocations: 1.294 MB / 0.7664 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/0.5362, allocations: 199.4 kB / 0.7666 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of SimCode: time 3.226e-06/0.5362, allocations: 0 / 0.7666 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of Templates: time 0.5059/1.042, allocations: 58.88 MB / 0.8241 GB, free: 124.1 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: 13.837875366210938] Failed to read output from testmodel.py, exit status != 0: 1.3796993540599942 1.060924256 0.810469364 Calling exit ...