Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.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.001731/0.001731, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.001393/0.001393, allocations: 218.5 kB / 23.8 MB, free: 4.539 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.439/1.439, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.6381/0.6381, allocations: 113.7 MB / 400.6 MB, free: 17.46 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.WTG4ACurrentSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource2",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.002204/0.002204, allocations: 71.42 kB / 0.567 GB, free: 43.11 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 78.51 MB / 0.6437 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2): time 0.01591/0.1391, allocations: 11.85 MB / 0.6552 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.152, allocations: 6.321 MB / 0.6614 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.1556, allocations: 95.31 kB / 0.6615 GB, free: 12.46 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.002525/0.1581, allocations: 0.7744 MB / 0.6622 GB, free: 11.69 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.003734/0.1618, allocations: 1.001 MB / 0.6632 GB, free: 10.68 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.007324/0.1692, allocations: 3.089 MB / 0.6662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006745/0.1759, allocations: 4.825 MB / 0.671 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.1784, allocations: 1.222 MB / 0.6721 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.1811, allocations: 1.786 MB / 0.6739 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.1836, allocations: 1.878 MB / 0.6757 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.1846, allocations: 0.5156 MB / 0.6762 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.1863, allocations: 0.8162 MB / 0.677 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.1873, allocations: 1.059 MB / 0.6781 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.1892, allocations: 1.581 MB / 0.6796 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.1974, allocations: 6.414 MB / 0.6859 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1974, allocations: 0 / 0.6859 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1974, allocations: 0 / 0.6859 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001534/0.1976, allocations: 0 / 0.6859 GB, free: 3.387 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.0138/0.2114, allocations: 5.007 MB / 0.6908 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2115, allocations: 12.03 kB / 0.6908 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.639e-05/0.2115, allocations: 69.11 kB / 0.6908 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005748/0.2121, allocations: 358.3 kB / 0.6912 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.217, allocations: 0.9546 MB / 0.6921 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/0.2222, allocations: 2.468 MB / 0.6945 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009168/0.2231, allocations: 0.9325 MB / 0.6954 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/0.2238, allocations: 260 kB / 0.6957 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/0.2321, allocations: 3.703 MB / 0.6993 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.2322, allocations: 3.938 kB / 0.6993 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/0.2325, allocations: 116 kB / 0.6994 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.2325, allocations: 64 kB / 0.6995 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006875/0.2394, allocations: 2.803 MB / 0.7022 GB, free: 2.016 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.01888/0.2583, allocations: 10.33 MB / 0.7123 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00727/0.2656, allocations: 2.805 MB / 0.715 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/0.2684, allocations: 1.22 MB / 0.7162 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.2686, allocations: 37.92 kB / 0.7163 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003931/0.2725, allocations: 1.865 MB / 0.7181 GB, free: 1.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 5.44e-06/0.2725, allocations: 0 / 0.7181 GB, free: 1.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=215): time 0.01241/0.2849, allocations: 4.432 MB / 0.7224 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003515/0.2853, allocations: 0.4889 MB / 0.7229 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.291, allocations: 3.106 MB / 0.7259 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006164/0.2916, allocations: 77.7 kB / 0.726 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.2934, allocations: 1.484 MB / 0.7274 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/0.2948, allocations: 0.7671 MB / 0.7282 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.2961, allocations: 0.6166 MB / 0.7288 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2962, allocations: 305.1 kB / 0.7291 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.2997, allocations: 1.511 MB / 0.7306 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004477/0.3042, allocations: 2.431 MB / 0.7329 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02458/0.3288, allocations: 7.426 MB / 0.7402 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.3288, allocations: 4 kB / 0.7402 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01129/0.3401, allocations: 4.445 MB / 0.7445 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3402, allocations: 87.36 kB / 0.7446 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.3403, allocations: 12 kB / 0.7446 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.3409, allocations: 317.5 kB / 0.7449 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/0.3445, allocations: 0.7177 MB / 0.7456 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.055e-05/0.3445, allocations: 35.86 kB / 0.7457 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.3474, allocations: 425.7 kB / 0.7461 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.3477, allocations: 116 kB / 0.7462 GB, free: 3.922 MB / 0.5762 GB Warning: Assuming fixed start value for the following 27 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.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.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004782/0.3525, allocations: 2.142 MB / 0.7483 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004193/0.3567, allocations: 2.38 MB / 0.7506 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02376/0.3805, allocations: 7.29 MB / 0.7577 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.411e-05/0.3805, allocations: 4 kB / 0.7577 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=428) (initialization_lambda0): time 0.0104/0.3909, allocations: 4.331 MB / 0.762 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.391, allocations: 88.31 kB / 0.762 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.391, allocations: 8 kB / 0.762 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.3915, allocations: 328.7 kB / 0.7624 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/0.395, allocations: 0.702 MB / 0.763 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.866e-05/0.3951, allocations: 35.86 kB / 0.7631 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.3978, allocations: 366.7 kB / 0.7634 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.3981, allocations: 116 kB / 0.7635 GB, free: 1.551 MB / 0.5919 GB Warning: Assuming fixed start value for the following 27 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.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.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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: 67 ($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.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_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_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,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.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 (402): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 2 * 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.001011/0.3991, allocations: 0.5304 MB / 0.7641 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007661/0.3999, allocations: 353.8 kB / 0.7644 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008762/0.4087, allocations: 3.422 MB / 0.7677 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.4087, allocations: 24 kB / 0.7678 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4087, allocations: 0 / 0.7678 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.4087, allocations: 11.95 kB / 0.7678 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.4251, allocations: 6.828 MB / 0.7744 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.4252, allocations: 4.469 kB / 0.7744 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/0.4284, allocations: 479.4 kB / 0.7749 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/0.429, allocations: 308.7 kB / 0.7752 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/0.4293, allocations: 67.97 kB / 0.7753 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.4294, allocations: 11.94 kB / 0.7753 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4294, allocations: 8 kB / 0.7753 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3222/0.7515, allocations: 5.355 MB / 0.7805 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/0.7537, allocations: 0.7133 MB / 0.7812 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008002/0.7545, allocations: 68.33 kB / 0.7813 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.7567, allocations: 208.3 kB / 0.7815 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/0.7572, allocations: 237.1 kB / 0.7817 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.7573, allocations: 76.27 kB / 0.7818 GB, free: 131.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002913/0.7602, allocations: 2.042 MB / 0.7838 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7602, allocations: 0 / 0.7838 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003808/0.7641, allocations: 1.325 MB / 0.7851 GB, free: 131.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 23 (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_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],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 34 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,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.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: 12 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,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 (215): * Single equations (assignments): 204 * 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.0119/0.776, allocations: 6.334 MB / 0.7912 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01248/0.7884, allocations: 5.578 MB / 0.7967 GB, free: 126.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.7885, allocations: 1.562 kB / 0.7967 GB, free: 126.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004009/0.7925, allocations: 1.781 MB / 0.7984 GB, free: 125.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.7958, allocations: 0.5078 MB / 0.7989 GB, free: 125.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05136/0.8472, allocations: 30.06 MB / 0.8283 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.8484, allocations: 1.364 MB / 0.8296 GB, free: 101.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002334/0.8507, allocations: 447.3 kB / 0.83 GB, free: 100.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/0.8525, allocations: 1.433 MB / 0.8314 GB, free: 99.22 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/0.8525, allocations: 0 / 0.8314 GB, free: 99.22 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.9582, allocations: 77.18 MB / 0.9068 GB, free: 22.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.77/19.73, allocations: 3.812 kB / 0.9068 GB, free: 22.41 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource2_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource2.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.639813419082202] Failed to read output from testmodel.py, exit status != 0: 20.002425287035294 20.018443306 19.817779113 Calling exit ...