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.002082/0.002082, allocations: 75.77 kB / 20.53 MB, free: 1.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 163.1 kB / 23.78 MB, free: 4.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 158.6 MB / 185.5 MB, free: 6.129 MB / 174.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.6332/0.6332, allocations: 85.32 MB / 323.1 MB, free: 6.672 MB / 302.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.00232/0.00232, allocations: 72.48 kB / 0.4924 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1483, allocations: 78.77 MB / 0.5693 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4ACurrentSource): time 0.01314/0.1614, allocations: 9.208 MB / 0.5783 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1716, allocations: 5.025 MB / 0.5832 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.1739, allocations: 59.62 kB / 0.5833 GB, free: 12.23 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.00219/0.1761, allocations: 0.6205 MB / 0.5839 GB, free: 11.61 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.004046/0.1802, allocations: 0.7413 MB / 0.5846 GB, free: 10.86 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.006394/0.1866, allocations: 2.139 MB / 0.5867 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005849/0.1924, allocations: 3.306 MB / 0.5899 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.1949, allocations: 0.7638 MB / 0.5907 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.1975, allocations: 1.241 MB / 0.5919 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.2, allocations: 1.193 MB / 0.593 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.2012, allocations: 364 kB / 0.5934 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2029, allocations: 0.6053 MB / 0.594 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.2041, allocations: 0.7591 MB / 0.5947 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.2058, allocations: 1.111 MB / 0.5958 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006375/0.2122, allocations: 4.491 MB / 0.6002 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2122, allocations: 0 / 0.6002 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2122, allocations: 3.938 kB / 0.6002 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001502/0.2123, allocations: 0 / 0.6002 GB, free: 10.82 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01139/0.2237, allocations: 3.733 MB / 0.6038 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.2237, allocations: 8.922 kB / 0.6038 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.2283, allocations: 0.7719 MB / 0.6046 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.2323, allocations: 1.7 MB / 0.6063 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008273/0.2331, allocations: 0.8553 MB / 0.6071 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005908/0.2337, allocations: 195.9 kB / 0.6073 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/0.2389, allocations: 2.572 MB / 0.6098 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.239, allocations: 0 / 0.6098 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.2392, allocations: 80 kB / 0.6099 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.2392, allocations: 44 kB / 0.6099 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/0.244, allocations: 2 MB / 0.6119 GB, free: 14.41 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.01295/0.2569, allocations: 7.191 MB / 0.6189 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/0.262, allocations: 1.866 MB / 0.6207 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.2641, allocations: 0.8646 MB / 0.6216 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.2642, allocations: 29.3 kB / 0.6216 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002939/0.2672, allocations: 1.344 MB / 0.6229 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=161): time 5.52e-06/0.2672, allocations: 4 kB / 0.6229 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=161): time 0.0106/0.2778, allocations: 3.247 MB / 0.6261 GB, free: 15.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.278, allocations: 264.6 kB / 0.6263 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/0.2819, allocations: 1.994 MB / 0.6283 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.2822, allocations: 73.69 kB / 0.6283 GB, free: 13.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.2834, allocations: 1.06 MB / 0.6294 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007613/0.2841, allocations: 0.558 MB / 0.6299 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009492/0.2851, allocations: 452.5 kB / 0.6304 GB, free: 11.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2852, allocations: 309.1 kB / 0.6306 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.2878, allocations: 1.063 MB / 0.6317 GB, free: 9.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.2907, allocations: 1.615 MB / 0.6333 GB, free: 7.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.3088, allocations: 5.416 MB / 0.6386 GB, free: 2.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.3088, allocations: 0 / 0.6386 GB, free: 2.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.00893/0.3177, allocations: 3.24 MB / 0.6417 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/0.3178, allocations: 45.69 kB / 0.6418 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.3178, allocations: 8 kB / 0.6418 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.3184, allocations: 317.4 kB / 0.6421 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.3211, allocations: 0.5148 MB / 0.6426 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-05/0.3211, allocations: 31.92 kB / 0.6426 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.3232, allocations: 266.7 kB / 0.6429 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.3235, allocations: 87.98 kB / 0.6429 GB, free: 13.82 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.004148/0.3277, allocations: 1.566 MB / 0.6445 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003411/0.3311, allocations: 1.596 MB / 0.646 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01865/0.3497, allocations: 5.381 MB / 0.6513 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.567e-05/0.3497, allocations: 0 / 0.6513 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization_lambda0): time 0.009569/0.3593, allocations: 3.221 MB / 0.6544 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3594, allocations: 49.69 kB / 0.6545 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.3595, allocations: 11.94 kB / 0.6545 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.36, allocations: 316.7 kB / 0.6548 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.363, allocations: 0.507 MB / 0.6553 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.22e-05/0.3631, allocations: 23.94 kB / 0.6553 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.3657, allocations: 250.9 kB / 0.6555 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.3661, allocations: 83.98 kB / 0.6556 GB, free: 408 kB / 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.001207/0.3673, allocations: 433.6 kB / 0.656 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008329/0.3682, allocations: 242.4 kB / 0.6563 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.3754, allocations: 2.527 MB / 0.6587 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/0.3754, allocations: 20 kB / 0.6588 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/0.3755, allocations: 3.938 kB / 0.6588 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.3755, allocations: 7.969 kB / 0.6588 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.3876, allocations: 4.511 MB / 0.6632 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.3876, allocations: 12 kB / 0.6632 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/0.3899, allocations: 347.5 kB / 0.6635 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.3904, allocations: 312.7 kB / 0.6638 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.3907, allocations: 43.98 kB / 0.6639 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.3907, allocations: 15.92 kB / 0.6639 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3907, allocations: 4 kB / 0.6639 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009905/0.4006, allocations: 3.969 MB / 0.6678 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.4021, allocations: 482.1 kB / 0.6682 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007377/0.4029, allocations: 51.98 kB / 0.6683 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.4047, allocations: 143.8 kB / 0.6684 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/0.4053, allocations: 204.9 kB / 0.6686 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/0.4056, allocations: 59.97 kB / 0.6687 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003039/0.4086, allocations: 1.293 MB / 0.6699 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4086, allocations: 4 kB / 0.6699 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003718/0.4123, allocations: 1.002 MB / 0.6709 GB, free: 0.5938 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.002022/0.4144, allocations: 0.4923 MB / 0.6714 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01038/0.4247, allocations: 3.982 MB / 0.6753 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.4247, allocations: 4 kB / 0.6753 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.4283, allocations: 1.263 MB / 0.6765 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.4314, allocations: 340.2 kB / 0.6768 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.4437, allocations: 4.721 MB / 0.6814 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4452, allocations: 0.9791 MB / 0.6824 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001925/0.4471, allocations: 302.3 kB / 0.6827 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/0.4478, allocations: 156.5 kB / 0.6828 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/0.4478, allocations: 0 / 0.6828 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of Templates: time 0.3557/0.8035, allocations: 29.81 MB / 0.7119 GB, free: 104.9 MB / 0.5919 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1231627819361165]