Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.001687/0.001687, 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.002148/0.002148, allocations: 209.4 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.523/1.523, 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.6828/0.6828, allocations: 115.9 MB / 402 MB, free: 15.94 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.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",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.002724/0.002724, allocations: 73.48 kB / 0.5694 GB, free: 41.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1561, allocations: 79.04 MB / 0.6466 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01654/0.1726, allocations: 11.26 MB / 0.6576 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.1865, allocations: 6.139 MB / 0.6635 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/0.1903, allocations: 83.44 kB / 0.6636 GB, free: 9.777 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.002885/0.1932, allocations: 0.7403 MB / 0.6643 GB, free: 9.031 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.004485/0.1977, allocations: 0.9624 MB / 0.6653 GB, free: 8.062 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.007555/0.2053, allocations: 2.969 MB / 0.6682 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007557/0.2128, allocations: 4.563 MB / 0.6726 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/0.2166, allocations: 1.06 MB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.2206, allocations: 1.685 MB / 0.6753 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.2238, allocations: 1.597 MB / 0.6769 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.2255, allocations: 500 kB / 0.6774 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.2278, allocations: 0.7771 MB / 0.6781 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2292, allocations: 1.004 MB / 0.6791 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.2312, allocations: 1.484 MB / 0.6806 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.2394, allocations: 6.036 MB / 0.6864 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2394, allocations: 0 / 0.6864 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2394, allocations: 0 / 0.6864 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001899/0.2396, allocations: 0 / 0.6864 GB, free: 2.285 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.0147/0.2543, allocations: 4.734 MB / 0.6911 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2543, allocations: 8.922 kB / 0.6911 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005287/0.2549, allocations: 329 kB / 0.6914 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.2597, allocations: 0.9235 MB / 0.6923 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.265, allocations: 2.349 MB / 0.6946 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008814/0.2658, allocations: 0.9164 MB / 0.6955 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.2664, allocations: 236 kB / 0.6957 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.2734, allocations: 3.451 MB / 0.6991 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.2735, allocations: 7.938 kB / 0.6991 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.2738, allocations: 104 kB / 0.6992 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/0.2738, allocations: 59.98 kB / 0.6992 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006498/0.2803, allocations: 2.62 MB / 0.7018 GB, free: 1.957 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.0175/0.2978, allocations: 9.349 MB / 0.7109 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006831/0.3047, allocations: 2.536 MB / 0.7134 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.3077, allocations: 1.151 MB / 0.7145 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.308, allocations: 37.98 kB / 0.7146 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00426/0.3122, allocations: 1.683 MB / 0.7162 GB, free: 2.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=203): time 4.99e-06/0.3122, allocations: 4 kB / 0.7162 GB, free: 2.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=203): time 0.01223/0.3245, allocations: 4.165 MB / 0.7203 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003381/0.3248, allocations: 474.9 kB / 0.7207 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/0.3302, allocations: 2.991 MB / 0.7237 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006066/0.3308, allocations: 81.69 kB / 0.7237 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.3324, allocations: 1.362 MB / 0.7251 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.3335, allocations: 0.7168 MB / 0.7258 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.3347, allocations: 0.5927 MB / 0.7263 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3348, allocations: 309 kB / 0.7266 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/0.3381, allocations: 1.434 MB / 0.728 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.3423, allocations: 2.325 MB / 0.7303 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02346/0.3657, allocations: 7.08 MB / 0.7372 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.3657, allocations: 4 kB / 0.7372 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01092/0.3767, allocations: 4.229 MB / 0.7414 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/0.3767, allocations: 61.8 kB / 0.7414 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3768, allocations: 8 kB / 0.7414 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.3773, allocations: 324.7 kB / 0.7417 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/0.3808, allocations: 0.6826 MB / 0.7424 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.713e-05/0.3808, allocations: 27.94 kB / 0.7424 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.3838, allocations: 413.9 kB / 0.7428 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.3841, allocations: 108 kB / 0.7429 GB, free: 6.938 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004751/0.3889, allocations: 2.066 MB / 0.7449 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003904/0.3928, allocations: 2.266 MB / 0.7472 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02299/0.4158, allocations: 6.928 MB / 0.7539 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.727e-05/0.4158, allocations: 4 kB / 0.7539 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=411) (initialization_lambda0): time 0.01062/0.4264, allocations: 4.124 MB / 0.758 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.4265, allocations: 65.61 kB / 0.758 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.4265, allocations: 12 kB / 0.758 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.427, allocations: 324.9 kB / 0.7583 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003366/0.4304, allocations: 0.667 MB / 0.759 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-05/0.4304, allocations: 27.92 kB / 0.759 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/0.4334, allocations: 362.7 kB / 0.7594 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/0.4339, allocations: 112 kB / 0.7595 GB, free: 5.484 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.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: 40 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running.value,WTG4B.wecc_regc.QInj0PuPos.k,WTG4B.wecc_regc.and1.u[1],WTG4B.wecc_regc.QInj0PuPos.y,WTG4B.wecc_regc.Qinj0PuNeg.k,WTG4B.wecc_regc.and2.u[2],WTG4B.wecc_regc.Qinj0PuNeg.y,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.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 (388): * Single equations (assignments): 386 * 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.001292/0.4352, allocations: 0.494 MB / 0.7599 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.4362, allocations: 333.8 kB / 0.7603 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009237/0.4454, allocations: 3.202 MB / 0.7634 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.4455, allocations: 24 kB / 0.7634 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/0.4455, allocations: 0 / 0.7634 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.4455, allocations: 19.89 kB / 0.7634 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.464, allocations: 6.473 MB / 0.7698 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.464, allocations: 4 kB / 0.7698 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/0.4669, allocations: 455.9 kB / 0.7702 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.4675, allocations: 308.7 kB / 0.7705 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003588/0.4679, allocations: 59.97 kB / 0.7705 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.558e-05/0.4679, allocations: 15.98 kB / 0.7706 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4679, allocations: 7.938 kB / 0.7706 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.4806, allocations: 5.042 MB / 0.7755 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/0.4827, allocations: 0.6847 MB / 0.7762 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007895/0.4835, allocations: 63.98 kB / 0.7762 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/0.4857, allocations: 207.7 kB / 0.7764 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005504/0.4862, allocations: 237.4 kB / 0.7766 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/0.4864, allocations: 75.95 kB / 0.7767 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003482/0.4899, allocations: 1.96 MB / 0.7786 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4899, allocations: 0 / 0.7786 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003633/0.4935, allocations: 1.259 MB / 0.7799 GB, free: 408 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 9 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 194 * 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.3322/0.8258, allocations: 6.005 MB / 0.7857 GB, free: 127.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01051/0.8363, allocations: 5.2 MB / 0.7908 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.8363, allocations: 2.312 kB / 0.7908 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.84, allocations: 1.634 MB / 0.7924 GB, free: 125.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.8427, allocations: 490.8 kB / 0.7929 GB, free: 124.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05288/0.8956, allocations: 28.48 MB / 0.8207 GB, free: 107.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009935/0.8966, allocations: 1.269 MB / 0.8219 GB, free: 106.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001957/0.8986, allocations: 447.2 kB / 0.8223 GB, free: 105.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.9001, allocations: 1.335 MB / 0.8237 GB, free: 104.4 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/0.9001, allocations: 0 / 0.8237 GB, free: 104.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.011, allocations: 74.07 MB / 0.896 GB, free: 30.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.3, allocations: 4.062 kB / 0.896 GB, free: 30.55 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 23.986736665014178]