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.001321/0.001321, 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.001426/0.001426, allocations: 209.3 kB / 23.01 MB, free: 4.621 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.465/1.465, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.6669/0.6669, allocations: 115.9 MB / 402 MB, free: 15.95 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.002379/0.002379, allocations: 84.78 kB / 0.5694 GB, free: 41.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1608, allocations: 79.04 MB / 0.6466 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4BCurrentSource): time 0.01274/0.1736, allocations: 8.552 MB / 0.6549 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1836, allocations: 4.799 MB / 0.6596 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1859, allocations: 51.69 kB / 0.6596 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.001818/0.1877, allocations: 0.5815 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.002482/0.1902, allocations: 0.6987 MB / 0.6609 GB, free: 12.63 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.004698/0.1949, allocations: 2.025 MB / 0.6629 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.1995, allocations: 3.036 MB / 0.6658 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.201, allocations: 0.6875 MB / 0.6665 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.203, allocations: 1.14 MB / 0.6676 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.2046, allocations: 1.1 MB / 0.6687 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004691/0.205, allocations: 332 kB / 0.669 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.2062, allocations: 0.5741 MB / 0.6696 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007216/0.2069, allocations: 0.6969 MB / 0.6703 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.208, allocations: 1.018 MB / 0.6712 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007664/0.2157, allocations: 4.106 MB / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2157, allocations: 0 / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.489e-06/0.2157, allocations: 0 / 0.6753 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001568/0.2159, allocations: 4 kB / 0.6753 GB, free: 13.84 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.01176/0.2276, allocations: 3.47 MB / 0.6787 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.2277, allocations: 12.92 kB / 0.6787 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/0.2281, allocations: 252.5 kB / 0.6789 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.2324, allocations: 0.7408 MB / 0.6796 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.2361, allocations: 1.57 MB / 0.6812 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008325/0.2369, allocations: 0.8315 MB / 0.682 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004231/0.2373, allocations: 164 kB / 0.6821 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.2423, allocations: 2.354 MB / 0.6844 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.2424, allocations: 0 / 0.6844 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.2426, allocations: 75.98 kB / 0.6845 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.2426, allocations: 40 kB / 0.6845 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.2472, allocations: 1.858 MB / 0.6864 GB, free: 2.066 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.01346/0.2607, allocations: 6.511 MB / 0.6927 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/0.266, allocations: 1.894 MB / 0.6946 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.268, allocations: 0.8128 MB / 0.6954 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.2682, allocations: 25.22 kB / 0.6954 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002785/0.271, allocations: 1.293 MB / 0.6966 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=149): time 3.687e-06/0.271, allocations: 0 / 0.6966 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=149): time 0.009448/0.2804, allocations: 3.121 MB / 0.6997 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.2806, allocations: 268.5 kB / 0.6999 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.2843, allocations: 2.069 MB / 0.702 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.2847, allocations: 69.7 kB / 0.702 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.2859, allocations: 0.947 MB / 0.703 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008347/0.2868, allocations: 0.5115 MB / 0.7035 GB, free: 256 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008485/0.2876, allocations: 440 kB / 0.7039 GB, free: 15.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2878, allocations: 301.1 kB / 0.7042 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.2902, allocations: 1.023 MB / 0.7052 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/0.2932, allocations: 1.535 MB / 0.7067 GB, free: 12.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/0.3107, allocations: 5.167 MB / 0.7117 GB, free: 7.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.3107, allocations: 4 kB / 0.7117 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008289/0.319, allocations: 3.109 MB / 0.7147 GB, free: 4.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.3191, allocations: 46.16 kB / 0.7148 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3191, allocations: 8 kB / 0.7148 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.3196, allocations: 312.7 kB / 0.7151 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/0.322, allocations: 499.3 kB / 0.7156 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-05/0.322, allocations: 19.94 kB / 0.7156 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.3241, allocations: 290.4 kB / 0.7159 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.3243, allocations: 79.98 kB / 0.7159 GB, free: 3.047 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.003471/0.3278, allocations: 1.487 MB / 0.7174 GB, free: 1.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002801/0.3306, allocations: 1.527 MB / 0.7189 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01661/0.3472, allocations: 5.144 MB / 0.7239 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-05/0.3472, allocations: 7.938 kB / 0.7239 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=296) (initialization_lambda0): time 0.007686/0.3549, allocations: 3.086 MB / 0.7269 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.3549, allocations: 49.67 kB / 0.727 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.355, allocations: 8 kB / 0.727 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/0.3555, allocations: 321 kB / 0.7273 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.3578, allocations: 483.3 kB / 0.7278 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.3578, allocations: 19.94 kB / 0.7278 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.3598, allocations: 254.9 kB / 0.728 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.36, allocations: 83.98 kB / 0.7281 GB, free: 6.211 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.0008796/0.3609, allocations: 424.6 kB / 0.7285 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.3613, allocations: 238.5 kB / 0.7287 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/0.368, allocations: 2.421 MB / 0.7311 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.368, allocations: 16 kB / 0.7311 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.368, allocations: 4 kB / 0.7311 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.3681, allocations: 7.969 kB / 0.7311 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.3784, allocations: 4.48 MB / 0.7355 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3784, allocations: 0 / 0.7355 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.3804, allocations: 331.8 kB / 0.7358 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.381, allocations: 312.6 kB / 0.7361 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.3811, allocations: 39.98 kB / 0.7361 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.3811, allocations: 8 kB / 0.7362 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.3811, allocations: 7.938 kB / 0.7362 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009197/0.3903, allocations: 3.776 MB / 0.7399 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.3919, allocations: 489.8 kB / 0.7403 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.3923, allocations: 51.98 kB / 0.7404 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.3937, allocations: 139.8 kB / 0.7405 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/0.3942, allocations: 196.9 kB / 0.7407 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.3943, allocations: 63.97 kB / 0.7408 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002418/0.3968, allocations: 1.36 MB / 0.7421 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3968, allocations: 0 / 0.7421 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002798/0.3996, allocations: 0.8929 MB / 0.743 GB, free: 6.816 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.01114/0.4107, allocations: 4.729 MB / 0.7476 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009592/0.4203, allocations: 3.808 MB / 0.7513 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.4203, allocations: 4 kB / 0.7513 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/0.4236, allocations: 1.204 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.002175/0.4257, allocations: 321.9 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.05059/0.4763, allocations: 20.43 MB / 0.7727 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.4776, allocations: 0.8962 MB / 0.7736 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001787/0.4794, allocations: 310.3 kB / 0.7739 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/0.4809, allocations: 0.9053 MB / 0.7748 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of SimCode: time 1.423e-06/0.4809, allocations: 0 / 0.7748 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.396/0.8769, allocations: 52.59 MB / 0.8261 GB, free: 103 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.62, allocations: 8.047 kB / 0.8261 GB, free: 103 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WT4BCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.134609154891223]