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.001408/0.001408, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001506/0.001506, allocations: 213.3 kB / 23.01 MB, free: 4.992 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.428/1.428, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.716/0.716, allocations: 115.9 MB / 402 MB, free: 15.98 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: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WT4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WT4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) [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.002682/0.002682, allocations: 85.53 kB / 0.5694 GB, free: 41.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1678, allocations: 79.03 MB / 0.6466 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4ACurrentSource): time 0.01427/0.1821, allocations: 9.205 MB / 0.6555 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1937, allocations: 5.021 MB / 0.6604 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.1968, allocations: 63.56 kB / 0.6605 GB, free: 13.03 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.002062/0.1989, allocations: 0.6127 MB / 0.6611 GB, free: 12.41 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.003323/0.2022, allocations: 0.7452 MB / 0.6618 GB, free: 11.66 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.005756/0.2079, allocations: 2.142 MB / 0.6639 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006206/0.2141, allocations: 3.302 MB / 0.6672 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2159, allocations: 0.76 MB / 0.6679 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.218, allocations: 1.241 MB / 0.6691 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.2197, allocations: 1.189 MB / 0.6703 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006029/0.2203, allocations: 364 kB / 0.6706 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.2215, allocations: 0.6208 MB / 0.6712 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007538/0.2223, allocations: 0.7514 MB / 0.672 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.2235, allocations: 1.119 MB / 0.673 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.2298, allocations: 4.487 MB / 0.6774 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2298, allocations: 0 / 0.6774 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2298, allocations: 0 / 0.6774 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001075/0.2299, allocations: 0 / 0.6774 GB, free: 11.61 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.01094/0.2408, allocations: 3.722 MB / 0.6811 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.2409, allocations: 8.922 kB / 0.6811 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/0.2413, allocations: 278 kB / 0.6813 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.2453, allocations: 0.7758 MB / 0.6821 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.2491, allocations: 1.704 MB / 0.6838 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008176/0.25, allocations: 0.8475 MB / 0.6846 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.2503, allocations: 192 kB / 0.6848 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/0.2552, allocations: 2.572 MB / 0.6873 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.2553, allocations: 3.938 kB / 0.6873 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.2555, allocations: 79.98 kB / 0.6874 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.2555, allocations: 48 kB / 0.6874 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00465/0.2602, allocations: 2 MB / 0.6894 GB, free: 14.94 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.01378/0.2739, allocations: 7.471 MB / 0.6967 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.2789, allocations: 1.858 MB / 0.6985 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.281, allocations: 0.8567 MB / 0.6993 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.2812, allocations: 25.31 kB / 0.6993 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002918/0.2841, allocations: 1.36 MB / 0.7007 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=161): time 3.617e-06/0.2841, allocations: 0 / 0.7007 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=161): time 0.009472/0.2936, allocations: 3.271 MB / 0.7039 GB, free: 15.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002444/0.2938, allocations: 264.6 kB / 0.7041 GB, free: 15.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.2976, allocations: 2.23 MB / 0.7063 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.2979, allocations: 73.69 kB / 0.7064 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.299, allocations: 1.057 MB / 0.7074 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007142/0.2997, allocations: 0.5619 MB / 0.7079 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000825/0.3005, allocations: 480.8 kB / 0.7084 GB, free: 11.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3007, allocations: 305.1 kB / 0.7087 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.3032, allocations: 1.091 MB / 0.7097 GB, free: 9.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.3062, allocations: 1.64 MB / 0.7114 GB, free: 7.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/0.3236, allocations: 5.479 MB / 0.7167 GB, free: 2.211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.3236, allocations: 8 kB / 0.7167 GB, free: 2.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.008279/0.3319, allocations: 3.317 MB / 0.7199 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.332, allocations: 49.69 kB / 0.72 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.332, allocations: 8 kB / 0.72 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.3326, allocations: 325.1 kB / 0.7203 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.3351, allocations: 0.5304 MB / 0.7208 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.245e-05/0.3351, allocations: 19.94 kB / 0.7208 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.337, allocations: 310.3 kB / 0.7211 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.3372, allocations: 88 kB / 0.7212 GB, free: 13.5 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.003565/0.3408, allocations: 1.591 MB / 0.7228 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003222/0.344, allocations: 1.624 MB / 0.7244 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0175/0.3615, allocations: 5.456 MB / 0.7297 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.064e-05/0.3615, allocations: 0 / 0.7297 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=325) (initialization_lambda0): time 0.008115/0.3696, allocations: 3.293 MB / 0.7329 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.3697, allocations: 46.34 kB / 0.733 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.3697, allocations: 15.98 kB / 0.733 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.3702, allocations: 328.6 kB / 0.7333 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.3727, allocations: 0.5188 MB / 0.7338 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/0.3728, allocations: 31.92 kB / 0.7338 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.3749, allocations: 258.8 kB / 0.7341 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.3751, allocations: 92 kB / 0.7342 GB, free: 15.8 MB / 0.5762 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: 68 ($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.QInj0PuPos.k,WT4A.wecc_regc.and1.u[1],WT4A.wecc_regc.QInj0PuPos.y,WT4A.wecc_regc.Qinj0PuNeg.k,WT4A.wecc_regc.and2.u[2],WT4A.wecc_regc.Qinj0PuNeg.y,$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 (308): * Single equations (assignments): 306 * 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.0008977/0.376, allocations: 436.1 kB / 0.7346 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.3765, allocations: 258.3 kB / 0.7348 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00721/0.3838, allocations: 2.545 MB / 0.7373 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.3838, allocations: 20 kB / 0.7373 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3838, allocations: 0 / 0.7373 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.3838, allocations: 7.969 kB / 0.7373 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.3945, allocations: 4.717 MB / 0.7419 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.3945, allocations: 4 kB / 0.7419 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.3966, allocations: 343.9 kB / 0.7423 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.3971, allocations: 308.7 kB / 0.7426 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.3972, allocations: 51.91 kB / 0.7426 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.3973, allocations: 12 kB / 0.7426 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3973, allocations: 4 kB / 0.7426 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009423/0.4067, allocations: 3.994 MB / 0.7465 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.4082, allocations: 0.5057 MB / 0.747 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.4086, allocations: 51.98 kB / 0.7471 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.41, allocations: 143.8 kB / 0.7472 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/0.4105, allocations: 196.9 kB / 0.7474 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.4107, allocations: 63.97 kB / 0.7475 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002461/0.4131, allocations: 1.459 MB / 0.7489 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4131, allocations: 0 / 0.7489 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002675/0.4158, allocations: 0.9786 MB / 0.7498 GB, free: 15.57 MB / 0.5919 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.01157/0.4274, allocations: 4.926 MB / 0.7546 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009723/0.4371, allocations: 4.054 MB / 0.7586 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.4371, allocations: 0 / 0.7586 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/0.4402, allocations: 1.255 MB / 0.7598 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.4423, allocations: 354.7 kB / 0.7602 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3249/0.7672, allocations: 21.89 MB / 0.7815 GB, free: 128.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.7683, allocations: 0.9845 MB / 0.7825 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001727/0.77, allocations: 326.4 kB / 0.7828 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.7712, allocations: 0.9941 MB / 0.7838 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/0.7712, allocations: 0 / 0.7838 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09799/0.8692, allocations: 56.03 MB / 0.8385 GB, free: 88.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.89, allocations: 3.75 kB / 0.8385 GB, free: 88.99 MB / 0.6075 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4ACurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv","/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] "Error: Could not read variable WT4A.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv. Warning: Get data of variable WT4A.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv failed! Error: Could not read variable WT4A.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv. Warning: Get data of variable WT4A.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv failed! Error: Could not read variable WT4A.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv. Warning: Get data of variable WT4A.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.397308345884085]