Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.001296/0.001296, allocations: 96.41 kB / 20.5 MB, free: 1.348 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.001463/0.001463, allocations: 223.6 kB / 23.81 MB, free: 4.508 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.431/1.431, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.608/0.608, allocations: 103.8 MB / 390.7 MB, free: 21.66 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="cs",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.00216/0.00216, allocations: 72.7 kB / 0.5524 GB, free: 58.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1428, allocations: 75.99 MB / 0.6266 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01028/0.1531, allocations: 10.64 MB / 0.637 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1676, allocations: 5.982 MB / 0.6429 GB, free: 8.465 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.171, allocations: 83.38 kB / 0.6429 GB, free: 8.383 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.002552/0.1736, allocations: 0.6347 MB / 0.6436 GB, free: 7.746 MB / 478.1 MB [/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.004271/0.1778, allocations: 0.8807 MB / 0.6444 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007252/0.1851, allocations: 2.777 MB / 0.6471 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008351/0.1934, allocations: 4.368 MB / 0.6514 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.1963, allocations: 1.109 MB / 0.6525 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.1992, allocations: 1.595 MB / 0.654 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.2017, allocations: 1.636 MB / 0.6556 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.2029, allocations: 479.9 kB / 0.6561 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2044, allocations: 0.6757 MB / 0.6568 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2054, allocations: 0.9422 MB / 0.6577 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.2071, allocations: 1.399 MB / 0.659 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007838/0.215, allocations: 5.715 MB / 0.6646 GB, free: 2.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.215, allocations: 0 / 0.6646 GB, free: 2.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.215, allocations: 3.938 kB / 0.6646 GB, free: 2.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.2151, allocations: 4 kB / 0.6646 GB, free: 2.059 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01349/0.2286, allocations: 4.378 MB / 0.6689 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.2287, allocations: 8.031 kB / 0.6689 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.233e-05/0.2288, allocations: 56.45 kB / 0.669 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008185/0.2296, allocations: 320.2 kB / 0.6693 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.2347, allocations: 0.8846 MB / 0.6701 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.2408, allocations: 2.293 MB / 0.6724 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008651/0.2417, allocations: 0.8426 MB / 0.6732 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.2425, allocations: 223.9 kB / 0.6734 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008249/0.2507, allocations: 3.415 MB / 0.6767 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.2508, allocations: 0 / 0.6767 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/0.2511, allocations: 99.98 kB / 0.6768 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.2511, allocations: 56 kB / 0.6769 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.2574, allocations: 2.446 MB / 0.6793 GB, free: 2.41 MB / 0.4981 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.276, allocations: 9.049 MB / 0.6881 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006647/0.2827, allocations: 2.364 MB / 0.6904 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.2857, allocations: 1.088 MB / 0.6915 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.2859, allocations: 22 kB / 0.6915 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004097/0.29, allocations: 1.67 MB / 0.6931 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=185): time 5.881e-06/0.29, allocations: 7.875 kB / 0.6932 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=185): time 0.01248/0.3025, allocations: 3.998 MB / 0.6971 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003365/0.3028, allocations: 496.6 kB / 0.6975 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005776/0.3086, allocations: 2.731 MB / 0.7002 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006986/0.3093, allocations: 73.7 kB / 0.7003 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.311, allocations: 1.378 MB / 0.7016 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/0.3126, allocations: 0.6353 MB / 0.7022 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.3136, allocations: 355.5 kB / 0.7026 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3138, allocations: 305.1 kB / 0.7029 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.3169, allocations: 1.068 MB / 0.7039 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/0.3207, allocations: 1.929 MB / 0.7058 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02032/0.341, allocations: 5.559 MB / 0.7112 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/0.3411, allocations: 0 / 0.7112 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01019/0.3513, allocations: 3.263 MB / 0.7144 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.3513, allocations: 42.52 kB / 0.7144 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.3514, allocations: 8 kB / 0.7145 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/0.3519, allocations: 316.7 kB / 0.7148 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.3549, allocations: 495.2 kB / 0.7152 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/0.3549, allocations: 27.92 kB / 0.7153 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.3577, allocations: 330.3 kB / 0.7156 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/0.3581, allocations: 79.92 kB / 0.7156 GB, free: 12.26 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004554/0.3627, allocations: 1.625 MB / 0.7172 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003255/0.3659, allocations: 1.875 MB / 0.7191 GB, free: 8.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01885/0.3848, allocations: 5.426 MB / 0.7244 GB, free: 2.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/0.3848, allocations: 0 / 0.7244 GB, free: 2.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.009043/0.3938, allocations: 3.159 MB / 0.7274 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.3939, allocations: 41.69 kB / 0.7275 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.3939, allocations: 8 kB / 0.7275 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.3945, allocations: 328.8 kB / 0.7278 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.3972, allocations: 467.3 kB / 0.7283 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-05/0.3973, allocations: 19.94 kB / 0.7283 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.3999, allocations: 290.9 kB / 0.7286 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/0.4002, allocations: 75.98 kB / 0.7286 GB, free: 14.51 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 42 * Number of states: 0 () * Number of discrete variables: 56 ($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.rateLimFirstOrderFreeze.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.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,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,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,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 (244): * Single equations (assignments): 242 * 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.0009989/0.4012, allocations: 491.6 kB / 0.7291 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008413/0.402, allocations: 325.9 kB / 0.7294 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008272/0.4103, allocations: 3.072 MB / 0.7324 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.4103, allocations: 20 kB / 0.7324 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.4103, allocations: 8 kB / 0.7324 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.4104, allocations: 11.97 kB / 0.7324 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.4273, allocations: 6.001 MB / 0.7383 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.4274, allocations: 0 / 0.7383 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/0.4304, allocations: 415.5 kB / 0.7387 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.431, allocations: 316.6 kB / 0.739 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/0.4314, allocations: 47.97 kB / 0.739 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.4314, allocations: 8 kB / 0.7391 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4314, allocations: 0 / 0.7391 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.4449, allocations: 4.637 MB / 0.7436 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/0.4473, allocations: 0.6381 MB / 0.7442 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/0.4485, allocations: 56 kB / 0.7443 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/0.451, allocations: 195.7 kB / 0.7444 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/0.4517, allocations: 201.6 kB / 0.7446 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003607/0.4521, allocations: 63.97 kB / 0.7447 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004518/0.4566, allocations: 1.851 MB / 0.7465 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4566, allocations: 0 / 0.7465 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00561/0.4622, allocations: 1.017 MB / 0.7475 GB, free: 11.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.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: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,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.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,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 (184): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * 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.01547/0.4777, allocations: 5.611 MB / 0.753 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.4886, allocations: 4.056 MB / 0.7569 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.4886, allocations: 0 / 0.7569 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/0.4924, allocations: 1.368 MB / 0.7583 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/0.4967, allocations: 0.4889 MB / 0.7588 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06785/0.5645, allocations: 25.33 MB / 0.7835 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.5664, allocations: 1.207 MB / 0.7847 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002095/0.5685, allocations: 382 kB / 0.785 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/0.5709, allocations: 1.249 MB / 0.7862 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of SimCode: time 1.152e-06/0.5709, allocations: 0 / 0.7862 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4085/0.9793, allocations: 68.94 MB / 0.8536 GB, free: 98.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/19.32, allocations: 7.062 kB / 0.8536 GB, free: 98.27 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.7562786960043] Failed to read output from testmodel.py, exit status != 0: 19.82901366893202 19.599807529 19.381181287 Calling exit ...