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.0009441/0.0009441, allocations: 84.44 kB / 20.71 MB, free: 3.855 MB / 18.57 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.000884/0.000884, allocations: 169.2 kB / 23.98 MB, free: 0.5781 MB / 18.57 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 0.9682/0.9682, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.4045/0.4045, allocations: 76.91 MB / 314.9 MB, free: 10.76 MB / 298.7 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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 490.5 MB, free: 27.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.898e-05, allocations: 2.984 kB / 490.5 MB, free: 27.85 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.00954/0.009579, allocations: 11.26 MB / 0.49 GB, free: 20.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007396/0.01697, allocations: 6.239 MB / 0.4961 GB, free: 15.76 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.0181, allocations: 92.44 kB / 0.4962 GB, free: 15.72 MB / 442.7 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.001252/0.01936, allocations: 0.6809 MB / 0.4968 GB, free: 15.29 MB / 442.7 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.001418/0.02077, allocations: 0.9498 MB / 0.4978 GB, free: 14.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.024, allocations: 2.904 MB / 0.5006 GB, free: 12.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.02728, allocations: 4.641 MB / 0.5051 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.02856, allocations: 1.117 MB / 0.5062 GB, free: 9.449 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.02997, allocations: 1.557 MB / 0.5078 GB, free: 8.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.03102, allocations: 1.278 MB / 0.509 GB, free: 7.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005655/0.03159, allocations: 0.5009 MB / 0.5095 GB, free: 7.961 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.03262, allocations: 0.6978 MB / 0.5102 GB, free: 7.902 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.03325, allocations: 1.02 MB / 0.5112 GB, free: 7.145 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009391/0.03419, allocations: 1.218 MB / 0.5124 GB, free: 6.367 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.04043, allocations: 6.218 MB / 0.5184 GB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.04044, allocations: 0 / 0.5184 GB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.04044, allocations: 1.281 kB / 0.5184 GB, free: 3.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.41e-05/0.0405, allocations: 7.875 kB / 0.5184 GB, free: 3.734 MB / 442.7 MB 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.01812/0.05862, allocations: 4.593 MB / 0.5229 GB, free: 1.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.652e-05/0.0587, allocations: 8.844 kB / 0.5229 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/0.06182, allocations: 0.9052 MB / 0.5238 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/0.06617, allocations: 2.44 MB / 0.5262 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/0.06674, allocations: 0.8566 MB / 0.527 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.06712, allocations: 247.4 kB / 0.5273 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.07235, allocations: 3.627 MB / 0.5308 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/0.0724, allocations: 6.625 kB / 0.5308 GB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/0.07261, allocations: 101.7 kB / 0.5309 GB, free: 11.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.07267, allocations: 59.09 kB / 0.531 GB, free: 11.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.07711, allocations: 2.585 MB / 0.5335 GB, free: 9.676 MB / 458.7 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.01412/0.09123, allocations: 9.611 MB / 0.5429 GB, free: 2.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.09517, allocations: 2.471 MB / 0.5453 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.0967, allocations: 1.122 MB / 0.5464 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.09681, allocations: 29.98 kB / 0.5464 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/0.09893, allocations: 1.701 MB / 0.5481 GB, free: 12.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=197): time 4.739e-06/0.09894, allocations: 0 / 0.5481 GB, free: 12.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.007528/0.1065, allocations: 4.12 MB / 0.5521 GB, free: 8.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002385/0.1067, allocations: 496.6 kB / 0.5526 GB, free: 8.082 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.1107, allocations: 2.591 MB / 0.5551 GB, free: 5.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004704/0.1112, allocations: 77.69 kB / 0.5552 GB, free: 5.387 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.1124, allocations: 1.49 MB / 0.5566 GB, free: 3.883 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/0.1133, allocations: 0.6624 MB / 0.5573 GB, free: 3.215 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005488/0.1139, allocations: 387.8 kB / 0.5577 GB, free: 2.832 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.114, allocations: 309.1 kB / 0.558 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.1157, allocations: 1.12 MB / 0.559 GB, free: 1.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.1178, allocations: 2.014 MB / 0.561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.1281, allocations: 5.83 MB / 0.5667 GB, free: 9.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.1281, allocations: 4 kB / 0.5667 GB, free: 9.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006091/0.1342, allocations: 3.409 MB / 0.57 GB, free: 5.637 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.1343, allocations: 45.28 kB / 0.5701 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.1343, allocations: 8 kB / 0.5701 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.135, allocations: 316.8 kB / 0.5704 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.1364, allocations: 0.5109 MB / 0.5709 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.126e-05/0.1364, allocations: 27.92 kB / 0.5709 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.1385, allocations: 310.6 kB / 0.5712 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.1387, allocations: 83.98 kB / 0.5713 GB, free: 4.344 MB / 490.7 MB 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.003075/0.1417, allocations: 1.715 MB / 0.573 GB, free: 2.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001932/0.1437, allocations: 1.963 MB / 0.5749 GB, free: 380 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009952/0.1536, allocations: 5.682 MB / 0.5804 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/0.1536, allocations: 4 kB / 0.5804 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.005558/0.1592, allocations: 3.307 MB / 0.5837 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.1593, allocations: 37.7 kB / 0.5837 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1593, allocations: 12 kB / 0.5837 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.1599, allocations: 317.4 kB / 0.584 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.1612, allocations: 0.4914 MB / 0.5845 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/0.1612, allocations: 27.88 kB / 0.5845 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.1633, allocations: 306.8 kB / 0.5848 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.1634, allocations: 83.98 kB / 0.5849 GB, free: 5.91 MB / 0.4948 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.0008238/0.1642, allocations: 494.2 kB / 0.5854 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006188/0.1649, allocations: 318 kB / 0.5857 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/0.1699, allocations: 3.173 MB / 0.5888 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.1699, allocations: 20 kB / 0.5888 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.1699, allocations: 4 kB / 0.5888 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.17, allocations: 7.969 kB / 0.5888 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.1812, allocations: 6.016 MB / 0.5947 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.1812, allocations: 0 / 0.5947 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.1826, allocations: 439.4 kB / 0.5951 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.183, allocations: 308.7 kB / 0.5954 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.1832, allocations: 55.97 kB / 0.5954 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.1832, allocations: 4 kB / 0.5954 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1832, allocations: 0 / 0.5954 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/0.1908, allocations: 4.79 MB / 0.6001 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/0.1926, allocations: 0.6301 MB / 0.6007 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.193, allocations: 60 kB / 0.6008 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.1941, allocations: 195.8 kB / 0.601 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/0.1945, allocations: 205.6 kB / 0.6012 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.1946, allocations: 67.91 kB / 0.6012 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002349/0.1969, allocations: 1.722 MB / 0.6029 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/0.1969, allocations: 0 / 0.6029 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002582/0.1995, allocations: 1.149 MB / 0.604 GB, free: 2.137 MB / 0.5105 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.001135/0.2006, allocations: 0.5021 MB / 0.6045 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007003/0.2076, allocations: 4.271 MB / 0.6087 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.2077, allocations: 0 / 0.6087 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.2098, allocations: 1.431 MB / 0.6101 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.2122, allocations: 0.5151 MB / 0.6106 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.2224, allocations: 5.97 MB / 0.6164 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.2236, allocations: 1.29 MB / 0.6177 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.2249, allocations: 208.4 kB / 0.6179 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of SimCode: time 2.384e-06/0.2249, allocations: 0 / 0.6179 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of Templates: time 0.0693/0.2941, allocations: 59.03 MB / 0.6755 GB, free: 8.996 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.839298426173627] Failed to read output from testmodel.py, exit status != 0: 0.30153894051909447 0.577495385 0.5353997859999999 Calling exit ...