Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.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.001584/0.001584, allocations: 108.3 kB / 19.73 MB, free: 2.059 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.001855/0.001855, allocations: 207.8 kB / 23.01 MB, free: 4.879 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.446/1.446, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.6642/0.6642, allocations: 114.3 MB / 400.4 MB, free: 17.23 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.WTG4ACurrentSource1,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1",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.002936/0.002936, allocations: 73.95 kB / 0.567 GB, free: 42.85 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1499, allocations: 78.64 MB / 0.6438 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1): time 0.01594/0.1658, allocations: 11.91 MB / 0.6554 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1786, allocations: 6.349 MB / 0.6616 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.1823, allocations: 87.38 kB / 0.6617 GB, free: 11.52 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.003015/0.1853, allocations: 0.7904 MB / 0.6625 GB, free: 10.72 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.004723/0.19, allocations: 0.9972 MB / 0.6634 GB, free: 9.719 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.007389/0.1974, allocations: 3.075 MB / 0.6664 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008004/0.2054, allocations: 4.837 MB / 0.6712 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.2089, allocations: 1.215 MB / 0.6724 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.2124, allocations: 1.798 MB / 0.6741 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.2155, allocations: 1.882 MB / 0.676 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.2166, allocations: 0.5234 MB / 0.6765 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.2181, allocations: 0.8121 MB / 0.6773 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.2191, allocations: 1.067 MB / 0.6783 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.2208, allocations: 1.581 MB / 0.6798 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007745/0.2285, allocations: 6.418 MB / 0.6861 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2285, allocations: 4 kB / 0.6861 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2285, allocations: 0 / 0.6861 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001484/0.2287, allocations: 0 / 0.6861 GB, free: 2.395 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01348/0.2422, allocations: 4.975 MB / 0.691 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2422, allocations: 12.03 kB / 0.691 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004896/0.2427, allocations: 358.4 kB / 0.6913 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.2473, allocations: 0.9546 MB / 0.6923 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.2523, allocations: 2.492 MB / 0.6947 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000798/0.2531, allocations: 0.9286 MB / 0.6956 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.2536, allocations: 263.9 kB / 0.6958 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006838/0.2605, allocations: 3.666 MB / 0.6994 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.2605, allocations: 7.938 kB / 0.6994 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.2608, allocations: 107.9 kB / 0.6995 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.2608, allocations: 68 kB / 0.6996 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/0.267, allocations: 2.758 MB / 0.7023 GB, free: 1.199 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.01867/0.2856, allocations: 10.33 MB / 0.7124 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006627/0.2923, allocations: 2.649 MB / 0.715 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.2949, allocations: 1.191 MB / 0.7161 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.2951, allocations: 37.98 kB / 0.7162 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003512/0.2986, allocations: 1.739 MB / 0.7179 GB, free: 1.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 6.673e-06/0.2986, allocations: 3.984 kB / 0.7179 GB, free: 1.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=215): time 0.01135/0.31, allocations: 4.31 MB / 0.7221 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003088/0.3103, allocations: 474.9 kB / 0.7225 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/0.3157, allocations: 3.153 MB / 0.7256 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006349/0.3163, allocations: 81.69 kB / 0.7257 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.3179, allocations: 1.468 MB / 0.7271 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.3191, allocations: 0.7594 MB / 0.7279 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.3202, allocations: 0.6364 MB / 0.7285 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3204, allocations: 309 kB / 0.7288 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/0.3237, allocations: 1.502 MB / 0.7303 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.3276, allocations: 2.434 MB / 0.7326 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02385/0.3515, allocations: 7.392 MB / 0.7398 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.3515, allocations: 4 kB / 0.7399 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01111/0.3626, allocations: 4.433 MB / 0.7442 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.693e-05/0.3627, allocations: 57.67 kB / 0.7442 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3627, allocations: 12.09 kB / 0.7442 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.3633, allocations: 320.7 kB / 0.7446 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.3669, allocations: 0.7294 MB / 0.7453 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.186e-05/0.3669, allocations: 35.86 kB / 0.7453 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.3699, allocations: 437.7 kB / 0.7457 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.3702, allocations: 120 kB / 0.7458 GB, free: 3.68 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.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 WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004656/0.3749, allocations: 2.147 MB / 0.7479 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003909/0.3788, allocations: 2.376 MB / 0.7502 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02309/0.4019, allocations: 7.256 MB / 0.7573 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.616e-05/0.4019, allocations: 4 kB / 0.7573 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=440) (initialization_lambda0): time 0.01095/0.4129, allocations: 4.339 MB / 0.7616 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.4129, allocations: 61.11 kB / 0.7616 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.413, allocations: 8 kB / 0.7616 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.4135, allocations: 321.2 kB / 0.7619 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.4169, allocations: 0.7138 MB / 0.7626 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.472e-05/0.4169, allocations: 31.88 kB / 0.7627 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.4198, allocations: 374.6 kB / 0.763 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.4201, allocations: 120 kB / 0.7631 GB, free: 1.418 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.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 WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.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: 46 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running.value,WTG4A.wecc_regc.QInj0PuPos.k,WTG4A.wecc_regc.and1.u[1],WTG4A.wecc_regc.QInj0PuPos.y,WTG4A.wecc_regc.Qinj0PuNeg.k,WTG4A.wecc_regc.and2.u[2],WTG4A.wecc_regc.Qinj0PuNeg.y,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.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 (417): * Single equations (assignments): 415 * 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.001045/0.4211, allocations: 0.495 MB / 0.7636 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009084/0.422, allocations: 361.7 kB / 0.764 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/0.4304, allocations: 3.317 MB / 0.7672 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.4304, allocations: 24 kB / 0.7672 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4305, allocations: 4 kB / 0.7672 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.4305, allocations: 15.95 kB / 0.7673 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.4451, allocations: 6.728 MB / 0.7738 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4451, allocations: 4 kB / 0.7738 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.448, allocations: 475.8 kB / 0.7743 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.4485, allocations: 312.7 kB / 0.7746 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.4487, allocations: 63.97 kB / 0.7746 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-05/0.4487, allocations: 19.92 kB / 0.7747 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4487, allocations: 8 kB / 0.7747 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.4601, allocations: 5.232 MB / 0.7798 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3486/0.8087, allocations: 0.703 MB / 0.7805 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/0.8095, allocations: 70.34 kB / 0.7805 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.8116, allocations: 206.2 kB / 0.7807 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/0.8121, allocations: 238.6 kB / 0.781 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.8123, allocations: 79.28 kB / 0.781 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003006/0.8153, allocations: 2.056 MB / 0.783 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8153, allocations: 0 / 0.783 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00358/0.8188, allocations: 1.334 MB / 0.7843 GB, free: 131.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.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,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 9 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 206 * 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.01143/0.8303, allocations: 6.202 MB / 0.7904 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.8425, allocations: 5.432 MB / 0.7957 GB, free: 126.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.8425, allocations: 2.156 kB / 0.7957 GB, free: 126.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003962/0.8465, allocations: 1.691 MB / 0.7974 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.8495, allocations: 0.5078 MB / 0.7979 GB, free: 125.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05257/0.9021, allocations: 29.97 MB / 0.8271 GB, free: 102.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.9031, allocations: 1.357 MB / 0.8284 GB, free: 101.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002131/0.9053, allocations: 463 kB / 0.8289 GB, free: 100.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.9069, allocations: 1.425 MB / 0.8303 GB, free: 99.37 MB / 0.6075 GB Notification: Performance of SimCode: time 1.283e-06/0.9069, allocations: 0 / 0.8303 GB, free: 99.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.028, allocations: 78.09 MB / 0.9065 GB, free: 21.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.56, allocations: 0 / 0.9065 GB, free: 21.54 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource1.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.100822102976963] Failed to read output from testmodel.py, exit status != 0: 16.7766575239948 16.784797519 16.554013083 Calling exit ...