Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.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.001401/0.001401, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001617/0.001617, allocations: 207.8 kB / 23.01 MB, free: 4.625 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.464/1.464, allocations: 207.7 MB / 233.9 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.6873/0.6873, allocations: 115.9 MB / 402 MB, free: 16.05 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.WT4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WT4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4BCurrentSource",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.002779/0.002779, allocations: 76.23 kB / 0.5694 GB, free: 41.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1481, allocations: 79.03 MB / 0.6465 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4BCurrentSource): time 0.01427/0.1624, allocations: 8.579 MB / 0.6549 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.173, allocations: 4.783 MB / 0.6596 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.175, allocations: 55.56 kB / 0.6597 GB, free: 13.91 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.001936/0.1769, allocations: 0.5779 MB / 0.6602 GB, free: 13.33 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.002833/0.1798, allocations: 0.6987 MB / 0.6609 GB, free: 12.62 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.005225/0.185, allocations: 2.029 MB / 0.6629 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.1902, allocations: 3.028 MB / 0.6658 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.1922, allocations: 0.6836 MB / 0.6665 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.1943, allocations: 1.144 MB / 0.6676 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.1963, allocations: 1.1 MB / 0.6687 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008888/0.1972, allocations: 332 kB / 0.669 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1987, allocations: 0.574 MB / 0.6696 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.1997, allocations: 0.7047 MB / 0.6703 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.2015, allocations: 1.014 MB / 0.6713 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005331/0.2069, allocations: 4.106 MB / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2069, allocations: 0 / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2069, allocations: 3.938 kB / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.358e-05/0.2069, allocations: 4 kB / 0.6753 GB, free: 13.83 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.009384/0.2163, allocations: 3.466 MB / 0.6787 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2164, allocations: 8.922 kB / 0.6787 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/0.2168, allocations: 244.6 kB / 0.6789 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.2209, allocations: 0.7447 MB / 0.6796 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.2243, allocations: 1.573 MB / 0.6812 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008115/0.2251, allocations: 0.8315 MB / 0.682 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.2255, allocations: 172 kB / 0.6821 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005026/0.2305, allocations: 2.342 MB / 0.6844 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.2305, allocations: 3.938 kB / 0.6844 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.2307, allocations: 71.98 kB / 0.6845 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.2308, allocations: 40 kB / 0.6845 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.2354, allocations: 1.87 MB / 0.6864 GB, free: 2.059 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.2483, allocations: 6.503 MB / 0.6927 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.2535, allocations: 1.882 MB / 0.6945 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.2555, allocations: 0.8167 MB / 0.6953 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.2556, allocations: 24.98 kB / 0.6954 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002792/0.2584, allocations: 1.293 MB / 0.6966 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=149): time 3.487e-06/0.2584, allocations: 0 / 0.6966 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=149): time 0.009404/0.2678, allocations: 3.133 MB / 0.6997 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.268, allocations: 264.6 kB / 0.6999 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.2712, allocations: 2.069 MB / 0.702 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.2714, allocations: 73.62 kB / 0.702 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009621/0.2723, allocations: 0.947 MB / 0.703 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.2729, allocations: 0.5154 MB / 0.7035 GB, free: 248 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007387/0.2737, allocations: 428.1 kB / 0.7039 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2738, allocations: 301.1 kB / 0.7042 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.2762, allocations: 1.035 MB / 0.7052 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.279, allocations: 1.531 MB / 0.7067 GB, free: 12.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/0.2957, allocations: 5.16 MB / 0.7117 GB, free: 7.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.2957, allocations: 4 kB / 0.7117 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007931/0.3037, allocations: 3.113 MB / 0.7147 GB, free: 4.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/0.3037, allocations: 46.16 kB / 0.7148 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.3038, allocations: 12 kB / 0.7148 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.3043, allocations: 320.7 kB / 0.7151 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.3067, allocations: 491.3 kB / 0.7156 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-05/0.3067, allocations: 23.92 kB / 0.7156 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.3086, allocations: 286.5 kB / 0.7159 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.3088, allocations: 79.98 kB / 0.7159 GB, free: 3.043 MB / 0.545 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003403/0.3122, allocations: 1.493 MB / 0.7174 GB, free: 1.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002784/0.315, allocations: 1.523 MB / 0.7189 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01697/0.332, allocations: 5.144 MB / 0.7239 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.709e-06/0.332, allocations: 0 / 0.7239 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=296) (initialization_lambda0): time 0.007946/0.3399, allocations: 3.09 MB / 0.7269 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.34, allocations: 45.69 kB / 0.727 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.34, allocations: 8 kB / 0.727 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.3405, allocations: 324.9 kB / 0.7273 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.3429, allocations: 487.2 kB / 0.7278 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.192e-05/0.3429, allocations: 23.92 kB / 0.7278 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.3448, allocations: 246.9 kB / 0.728 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.345, allocations: 80 kB / 0.7281 GB, free: 6.219 MB / 0.5606 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.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: 31 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.WT4B.injector.state,WT4B.injector.state,$PRE.WT4B.line.state,WT4B.line.state,$PRE.line.state,line.state,WT4B.injector.switchOffSignal3.value,WT4B.injector.switchOffSignal2.value,WT4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WT4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WT4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WT4B.line.running.value,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WT4B.wecc_regc.offDelay.delaySignal,$PRE.WT4B.wecc_regc.offDelay.tNext,$PRE.WT4B.injector.running.value,WT4B.wecc_regc.QInj0PuPos.k,WT4B.wecc_regc.and1.u[1],WT4B.wecc_regc.QInj0PuPos.y,WT4B.wecc_regc.Qinj0PuNeg.k,WT4B.wecc_regc.and2.u[2],WT4B.wecc_regc.Qinj0PuNeg.y,$PRE.WT4B.wecc_regc.offDelay.u,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.injector.running.value,WT4B.wecc_regc.and2.y,WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WT4B.pll.limIntegrator.local_reset,WT4B.pll.integrator.local_reset,WT4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WT4B.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 (279): * Single equations (assignments): 277 * 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.000742/0.3457, allocations: 426.3 kB / 0.7285 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.3462, allocations: 238.5 kB / 0.7287 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006542/0.3527, allocations: 2.433 MB / 0.7311 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.3527, allocations: 19.98 kB / 0.7311 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3527, allocations: 4 kB / 0.7311 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.3527, allocations: 3.984 kB / 0.7311 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/0.3627, allocations: 4.469 MB / 0.7355 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3627, allocations: 4 kB / 0.7355 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/0.3648, allocations: 323.8 kB / 0.7358 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.3653, allocations: 312.6 kB / 0.7361 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.3654, allocations: 47.97 kB / 0.7361 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.3654, allocations: 8 kB / 0.7362 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3654, allocations: 4 kB / 0.7362 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009221/0.3746, allocations: 3.78 MB / 0.7399 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.376, allocations: 490 kB / 0.7403 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.3764, allocations: 51.94 kB / 0.7404 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.3777, allocations: 135.8 kB / 0.7405 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/0.3782, allocations: 196.9 kB / 0.7407 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.3783, allocations: 63.97 kB / 0.7407 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00225/0.3806, allocations: 1.36 MB / 0.7421 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3806, allocations: 0 / 0.7421 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002522/0.3831, allocations: 0.8968 MB / 0.743 GB, free: 6.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 (WT4B.wecc_reec.firstOrder.y,WT4B.wecc_reec.firstOrder1.y,WT4B.wecc_reec.limPIDFreeze.I.y,WT4B.wecc_reec.varLimPIDFreeze.I.y,WT4B.wecc_reec.rateLimFirstOrderFreeze1.y,WT4B.wecc_reec.slewRateLimiter.y,WT4B.wecc_reec.rateLimFirstOrderFreeze.y,WT4B.wecc_regc.rateLimFirstOrderFreeze2.y,WT4B.wecc_regc.rateLimFirstOrderFreeze1.y,WT4B.wecc_regc.firstOrder.y,WT4B.pll.integrator.y,WT4B.pll.limIntegrator.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,WT4B.line.running.value,WT4B.line.state,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_regc.offDelay.u,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and2.y,WT4B.injector.running.value,WT4B.injector.state) * Number of discrete states: 9 (WT4B.injector.running.value,WT4B.line.running.value,line.running.value,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 140 * 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.01086/0.394, allocations: 4.726 MB / 0.7476 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009126/0.4031, allocations: 3.816 MB / 0.7513 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.4031, allocations: 0 / 0.7513 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/0.4061, allocations: 1.201 MB / 0.7525 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.4081, allocations: 321.6 kB / 0.7528 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04327/0.4513, allocations: 20.42 MB / 0.7727 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.4525, allocations: 0.9079 MB / 0.7736 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001633/0.4541, allocations: 302.3 kB / 0.7739 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.4557, allocations: 0.9015 MB / 0.7748 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.114e-06/0.4557, allocations: 0 / 0.7748 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.401/0.8567, allocations: 52.59 MB / 0.8261 GB, free: 104.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.66, allocations: 7.984 kB / 0.8261 GB, free: 104.4 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_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_WT4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable WT4B.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv. Warning: Get data of variable WT4B.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv failed! Error: Could not read variable WT4B.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv. Warning: Get data of variable WT4B.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv failed! Error: Could not read variable WT4B.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv. Warning: Get data of variable WT4B.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.229039009660482]