Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.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.001678/0.001678, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.002145/0.002145, allocations: 216.8 kB / 23.77 MB, free: 4.52 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.888/1.888, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.8298/0.8298, allocations: 115.8 MB / 402.6 MB, free: 16.03 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.WT4ACurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4A.injector.PInjPu|WT4A.injector.QInjPu|WT4A.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WT4ACurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4A.injector.PInjPu|WT4A.injector.QInjPu|WT4A.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource") [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.002858/0.002858, allocations: 79.48 kB / 0.5704 GB, free: 41.4 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.227, allocations: 79.01 MB / 0.6476 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4ACurrentSource): time 0.01874/0.2457, allocations: 9.232 MB / 0.6566 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2605, allocations: 5.029 MB / 0.6615 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003853/0.2644, allocations: 67.5 kB / 0.6616 GB, free: 12.66 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.002987/0.2674, allocations: 0.6203 MB / 0.6622 GB, free: 12.04 MB / 0.4981 GB [/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.004998/0.2724, allocations: 0.7452 MB / 0.6629 GB, free: 11.29 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007137/0.2795, allocations: 2.134 MB / 0.665 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007453/0.287, allocations: 3.314 MB / 0.6682 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.29, allocations: 0.764 MB / 0.669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.2931, allocations: 1.245 MB / 0.6702 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.2961, allocations: 1.193 MB / 0.6714 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.2975, allocations: 368 kB / 0.6717 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.2998, allocations: 0.6091 MB / 0.6723 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.3015, allocations: 0.7592 MB / 0.6731 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003115/0.3046, allocations: 1.119 MB / 0.6741 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3152, allocations: 4.499 MB / 0.6785 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.3152, allocations: 0 / 0.6785 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3152, allocations: 0 / 0.6785 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002724/0.3155, allocations: 0 / 0.6785 GB, free: 11.21 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.01711/0.3326, allocations: 3.737 MB / 0.6822 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.3327, allocations: 8.031 kB / 0.6822 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.3377, allocations: 0.7758 MB / 0.683 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006077/0.3438, allocations: 1.704 MB / 0.6846 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001648/0.3454, allocations: 0.8553 MB / 0.6855 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.3463, allocations: 188 kB / 0.6856 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.3535, allocations: 2.577 MB / 0.6882 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.3536, allocations: 3.938 kB / 0.6882 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.3539, allocations: 83.98 kB / 0.6882 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.3539, allocations: 48 kB / 0.6883 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.3595, allocations: 2.004 MB / 0.6902 GB, free: 14.79 MB / 0.5294 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.01641/0.3759, allocations: 7.206 MB / 0.6973 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/0.3812, allocations: 1.851 MB / 0.6991 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.3834, allocations: 0.8644 MB / 0.6999 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.3836, allocations: 33.3 kB / 0.7 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003131/0.3867, allocations: 1.34 MB / 0.7013 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=161): time 6.312e-06/0.3867, allocations: 224 / 0.7013 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=161): time 0.01018/0.3969, allocations: 3.251 MB / 0.7044 GB, free: 52 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.3972, allocations: 260.6 kB / 0.7047 GB, free: 15.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/0.4024, allocations: 2.013 MB / 0.7067 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.4027, allocations: 65.7 kB / 0.7067 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.4043, allocations: 1.075 MB / 0.7078 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009675/0.4052, allocations: 0.5619 MB / 0.7083 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4064, allocations: 452.5 kB / 0.7087 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4065, allocations: 305.1 kB / 0.709 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.4093, allocations: 1.063 MB / 0.7101 GB, free: 10.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.4125, allocations: 1.611 MB / 0.7117 GB, free: 8.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/0.4311, allocations: 5.416 MB / 0.7169 GB, free: 2.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/0.4311, allocations: 8 kB / 0.7169 GB, free: 2.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.009828/0.441, allocations: 3.236 MB / 0.7201 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.4411, allocations: 45.69 kB / 0.7202 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4411, allocations: 11.94 kB / 0.7202 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/0.4417, allocations: 325.1 kB / 0.7205 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.4443, allocations: 0.507 MB / 0.721 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-05/0.4444, allocations: 20 kB / 0.721 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.4469, allocations: 270.7 kB / 0.7212 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.4473, allocations: 87.94 kB / 0.7213 GB, free: 14.18 MB / 0.5606 GB Warning: Assuming fixed start value for the following 23 variables: WT4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.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 WT4A.line.running.value:DISCRETE(flow=false start = WT4A.line.Running0 fixed = true ) type: Boolean WT4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4A.injector.running.value:DISCRETE(flow=false start = WT4A.injector.Running0 fixed = true ) type: Boolean WT4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004483/0.4517, allocations: 1.564 MB / 0.7229 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00338/0.4551, allocations: 1.596 MB / 0.7244 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01816/0.4733, allocations: 5.381 MB / 0.7297 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-05/0.4733, allocations: 4 kB / 0.7297 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization_lambda0): time 0.009308/0.4826, allocations: 3.209 MB / 0.7328 GB, free: 2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.4827, allocations: 50.28 kB / 0.7329 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.4827, allocations: 12 kB / 0.7329 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/0.4833, allocations: 316.7 kB / 0.7332 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.4859, allocations: 0.5031 MB / 0.7337 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.167e-05/0.4859, allocations: 31.91 kB / 0.7337 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.4884, allocations: 258.8 kB / 0.7339 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/0.4887, allocations: 87.98 kB / 0.734 GB, free: 0.7461 MB / 0.5606 GB Warning: Assuming fixed start value for the following 23 variables: WT4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.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 WT4A.line.running.value:DISCRETE(flow=false start = WT4A.line.Running0 fixed = true ) type: Boolean WT4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4A.injector.running.value:DISCRETE(flow=false start = WT4A.injector.Running0 fixed = true ) type: Boolean WT4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4A.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: 37 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.WT4A.injector.state,WT4A.injector.state,$PRE.WT4A.line.state,WT4A.line.state,$PRE.line.state,line.state,WT4A.injector.switchOffSignal3.value,WT4A.injector.switchOffSignal2.value,WT4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WT4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WT4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WT4A.line.running.value,$PRE.WT4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WT4A.wecc_regc.offDelay.delaySignal,$PRE.WT4A.wecc_regc.offDelay.tNext,$PRE.WT4A.injector.running.value,WT4A.wecc_regc.Qinj0PuNeg.k,WT4A.wecc_regc.QInj0PuPos.k,$PRE.WT4A.wecc_regc.offDelay.u,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.injector.running.value,WT4A.wecc_regc.and2.y,WT4A.wecc_regc.and1.y,WT4A.wecc_regc.and1.u[2],WT4A.wecc_regc.offDelay.tNext,WT4A.wecc_regc.offDelay.delaySignal,WT4A.wecc_regc.offDelay.u,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WT4A.wecc_wtgt.dOmegaGenerator.local_reset,WT4A.wecc_wtgt.dOmegaTurbine.local_reset,WT4A.wecc_wtgt.dPhi.local_reset,WT4A.pll.limIntegrator.local_reset,WT4A.pll.integrator.local_reset,WT4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WT4A.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 (295): * Single equations (assignments): 293 * 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.001119/0.4898, allocations: 437.3 kB / 0.7344 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009485/0.4907, allocations: 238.4 kB / 0.7347 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/0.4984, allocations: 2.524 MB / 0.7371 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/0.4984, allocations: 19.94 kB / 0.7372 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.4985, allocations: 4 kB / 0.7372 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.4985, allocations: 7.969 kB / 0.7372 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.5113, allocations: 4.522 MB / 0.7416 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.5113, allocations: 4 kB / 0.7416 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/0.5136, allocations: 347.9 kB / 0.7419 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.5142, allocations: 308.7 kB / 0.7422 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.5144, allocations: 47.97 kB / 0.7423 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-05/0.5144, allocations: 16 kB / 0.7423 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.5144, allocations: 7.938 kB / 0.7423 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.5245, allocations: 3.969 MB / 0.7462 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/0.5261, allocations: 482.1 kB / 0.7466 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/0.5269, allocations: 55.92 kB / 0.7467 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.5287, allocations: 143.8 kB / 0.7468 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/0.5292, allocations: 189 kB / 0.747 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.5294, allocations: 59.97 kB / 0.747 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003402/0.5328, allocations: 1.301 MB / 0.7483 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5328, allocations: 0 / 0.7483 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004284/0.5371, allocations: 1.017 MB / 0.7493 GB, free: 0.9336 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 15 (WT4A.wecc_reec.firstOrder.y,WT4A.wecc_reec.firstOrder1.y,WT4A.wecc_reec.limPIDFreeze.I.y,WT4A.wecc_reec.varLimPIDFreeze.I.y,WT4A.wecc_reec.rateLimFirstOrderFreeze1.y,WT4A.wecc_reec.slewRateLimiter.y,WT4A.wecc_reec.rateLimFirstOrderFreeze.y,WT4A.wecc_regc.rateLimFirstOrderFreeze2.y,WT4A.wecc_regc.rateLimFirstOrderFreeze1.y,WT4A.wecc_regc.firstOrder.y,WT4A.pll.integrator.y,WT4A.pll.limIntegrator.y,WT4A.wecc_wtgt.dPhi.y,WT4A.wecc_wtgt.dOmegaTurbine.y,WT4A.wecc_wtgt.dOmegaGenerator.y) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WT4A.line.running.value,WT4A.line.state,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_regc.offDelay.u,WT4A.wecc_regc.offDelay.delaySignal,WT4A.wecc_regc.offDelay.tNext,WT4A.wecc_regc.and1.u[2],WT4A.wecc_regc.and1.y,WT4A.wecc_regc.and2.y,WT4A.injector.running.value,WT4A.injector.state) * Number of discrete states: 9 (WT4A.injector.running.value,WT4A.line.running.value,line.running.value,WT4A.wecc_regc.offDelay.u,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002045/0.5391, allocations: 496.2 kB / 0.7498 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0107/0.5498, allocations: 4.01 MB / 0.7537 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.5498, allocations: 0 / 0.7537 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.553, allocations: 1.22 MB / 0.7549 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.5559, allocations: 329.3 kB / 0.7552 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.5696, allocations: 4.797 MB / 0.7599 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.5716, allocations: 0.9869 MB / 0.7608 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.5728, allocations: 167.4 kB / 0.761 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/0.5728, allocations: 0 / 0.761 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.5374/1.11, allocations: 44.81 MB / 0.8048 GB, free: 117.5 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,WT4A.injector.PInjPu,WT4A.injector.QInjPu,WT4A.pll.omegaPLLPu Variables in the result:WT4A.injector.PInjPu,WT4A.injector.QInjPu,WT4A.pll.omegaPLLPu,time [Calling sys.exit(0), Time elapsed: 13.947589627932757]