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.001229/0.001229, 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.001522/0.001522, 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.586/1.586, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6595/0.6595, allocations: 114.3 MB / 400.4 MB, free: 17.11 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource2",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.002234/0.002234, allocations: 78.02 kB / 0.5671 GB, free: 42.67 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1543, allocations: 78.66 MB / 0.6439 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2): time 0.01828/0.1726, allocations: 11.87 MB / 0.6555 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.1881, allocations: 6.36 MB / 0.6617 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.1914, allocations: 95.31 kB / 0.6618 GB, free: 11.4 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.002466/0.1939, allocations: 0.7824 MB / 0.6626 GB, free: 10.61 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.004054/0.1979, allocations: 1.021 MB / 0.6636 GB, free: 9.586 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.007173/0.2051, allocations: 3.082 MB / 0.6666 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007964/0.213, allocations: 4.849 MB / 0.6713 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.2156, allocations: 1.215 MB / 0.6725 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.2186, allocations: 1.798 MB / 0.6743 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/0.2215, allocations: 1.897 MB / 0.6761 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009116/0.2224, allocations: 0.5195 MB / 0.6766 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.2239, allocations: 0.8084 MB / 0.6774 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.2249, allocations: 1.071 MB / 0.6785 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.2268, allocations: 1.585 MB / 0.68 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008286/0.235, allocations: 6.429 MB / 0.6863 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2351, allocations: 3.984 kB / 0.6863 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2351, allocations: 0 / 0.6863 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001403/0.2352, allocations: 0 / 0.6863 GB, free: 2.219 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.01387/0.2491, allocations: 4.998 MB / 0.6912 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.2491, allocations: 8.031 kB / 0.6912 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005242/0.2496, allocations: 358.4 kB / 0.6915 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/0.2544, allocations: 0.9507 MB / 0.6924 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005435/0.2598, allocations: 2.507 MB / 0.6949 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008705/0.2607, allocations: 0.9247 MB / 0.6958 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009665/0.2616, allocations: 260 kB / 0.696 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009123/0.2708, allocations: 3.674 MB / 0.6996 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/0.2708, allocations: 7.938 kB / 0.6996 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.2711, allocations: 116 kB / 0.6997 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.2712, allocations: 63.98 kB / 0.6998 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007219/0.2784, allocations: 2.762 MB / 0.7025 GB, free: 0.9844 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.02288/0.3013, allocations: 10.33 MB / 0.7126 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.3091, allocations: 2.802 MB / 0.7153 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.3122, allocations: 1.198 MB / 0.7165 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.3125, allocations: 33.98 kB / 0.7165 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0039/0.3164, allocations: 1.743 MB / 0.7182 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=216): time 4.919e-06/0.3164, allocations: 0 / 0.7182 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of matching and sorting (n=216): time 0.01259/0.329, allocations: 4.348 MB / 0.7225 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003306/0.3293, allocations: 470.9 kB / 0.7229 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006097/0.3354, allocations: 3.142 MB / 0.726 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007309/0.3361, allocations: 85.69 kB / 0.7261 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.3379, allocations: 1.472 MB / 0.7275 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.3392, allocations: 0.7672 MB / 0.7283 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3405, allocations: 0.6206 MB / 0.7289 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3406, allocations: 301.1 kB / 0.7292 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/0.3442, allocations: 1.498 MB / 0.7306 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/0.3487, allocations: 2.426 MB / 0.733 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02407/0.3727, allocations: 7.382 MB / 0.7402 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.3728, allocations: 4 kB / 0.7402 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01205/0.3848, allocations: 4.42 MB / 0.7445 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3849, allocations: 61.61 kB / 0.7446 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.385, allocations: 12 kB / 0.7446 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.3855, allocations: 321 kB / 0.7449 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/0.3891, allocations: 0.7216 MB / 0.7456 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-05/0.3891, allocations: 31.92 kB / 0.7456 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/0.3923, allocations: 425.8 kB / 0.746 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.3927, allocations: 123.9 kB / 0.7462 GB, free: 3.34 MB / 0.5762 GB Warning: Assuming fixed start value for the following 30 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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.005196/0.3979, allocations: 2.139 MB / 0.7482 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004244/0.4021, allocations: 2.371 MB / 0.7506 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02406/0.4262, allocations: 7.23 MB / 0.7576 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.62e-05/0.4262, allocations: 3.984 kB / 0.7576 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.01166/0.4378, allocations: 4.318 MB / 0.7618 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.4379, allocations: 57.67 kB / 0.7619 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.438, allocations: 16.09 kB / 0.7619 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.4385, allocations: 312.7 kB / 0.7622 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003845/0.4423, allocations: 0.7099 MB / 0.7629 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.319e-05/0.4424, allocations: 31.92 kB / 0.7629 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/0.4465, allocations: 366.6 kB / 0.7633 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.447, allocations: 123.9 kB / 0.7634 GB, free: 1.141 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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_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 (411): * Single equations (assignments): 409 * 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.001288/0.4483, allocations: 0.5025 MB / 0.7639 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.4494, allocations: 357.7 kB / 0.7642 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009193/0.4586, allocations: 3.325 MB / 0.7675 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/0.4587, allocations: 27.98 kB / 0.7675 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.4587, allocations: 3.984 kB / 0.7675 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.4587, allocations: 11.91 kB / 0.7675 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.4745, allocations: 6.755 MB / 0.7741 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.4745, allocations: 4 kB / 0.7741 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/0.4774, allocations: 483.7 kB / 0.7746 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.4779, allocations: 300.7 kB / 0.7749 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.4781, allocations: 67.97 kB / 0.7749 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.4781, allocations: 11.98 kB / 0.775 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.4781, allocations: 15.94 kB / 0.775 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3815/0.8596, allocations: 5.231 MB / 0.7801 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/0.8621, allocations: 0.7096 MB / 0.7808 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006687/0.8628, allocations: 72.69 kB / 0.7808 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.8649, allocations: 209.4 kB / 0.781 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/0.8654, allocations: 238 kB / 0.7813 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.8655, allocations: 78.36 kB / 0.7813 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003322/0.8688, allocations: 2.058 MB / 0.7834 GB, free: 130.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8688, allocations: 0.7812 kB / 0.7834 GB, free: 130.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004829/0.8737, allocations: 1.333 MB / 0.7847 GB, free: 130.1 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: 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 (219): * Single equations (assignments): 207 * 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.01295/0.8866, allocations: 6.222 MB / 0.7907 GB, free: 127.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01471/0.9013, allocations: 5.413 MB / 0.796 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.9013, allocations: 2.156 kB / 0.796 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004422/0.9058, allocations: 1.694 MB / 0.7977 GB, free: 124.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/0.9097, allocations: 0.5317 MB / 0.7982 GB, free: 124.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0546/0.9643, allocations: 30 MB / 0.8275 GB, free: 102.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.9653, allocations: 1.365 MB / 0.8288 GB, free: 100.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002168/0.9675, allocations: 454.5 kB / 0.8293 GB, free: 100.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.9693, allocations: 1.444 MB / 0.8307 GB, free: 98.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.674e-06/0.9693, allocations: 0 / 0.8307 GB, free: 98.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/1.092, allocations: 78.33 MB / 0.9072 GB, free: 20.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.83, allocations: 11.38 kB / 0.9072 GB, free: 20.72 MB / 0.6075 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 21.381223770004] Failed to read output from testmodel.py, exit status != 0: 17.055091538990382 17.073962463 16.834801348 Calling exit ...