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.0008288/0.0008288, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008375/0.0008375, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9839/0.9839, allocations: 158.6 MB / 185 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.4229/0.4229, allocations: 76.91 MB / 314.2 MB, free: 10.75 MB / 298.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 489.2 MB, free: 28.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.277e-05, allocations: 2.984 kB / 489.2 MB, free: 28.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.007449/0.007471, allocations: 10.64 MB / 499.9 MB, free: 20.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.01451, allocations: 6.017 MB / 0.494 GB, free: 16.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.01632, allocations: 85.66 kB / 0.4941 GB, free: 16.54 MB / 442.7 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.001246/0.01756, allocations: 0.6496 MB / 0.4948 GB, free: 16.13 MB / 442.7 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.001765/0.01933, allocations: 0.8996 MB / 0.4956 GB, free: 15.47 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.02271, allocations: 2.786 MB / 0.4984 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.02626, allocations: 4.365 MB / 0.5026 GB, free: 11.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.02773, allocations: 1.044 MB / 0.5036 GB, free: 10.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.02936, allocations: 1.475 MB / 0.5051 GB, free: 9.773 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.03077, allocations: 1.208 MB / 0.5063 GB, free: 9.207 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007285/0.0315, allocations: 473.4 kB / 0.5067 GB, free: 9.207 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/0.03245, allocations: 0.6697 MB / 0.5074 GB, free: 9.145 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.03288, allocations: 0.9529 MB / 0.5083 GB, free: 8.441 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000868/0.03375, allocations: 1.149 MB / 0.5094 GB, free: 7.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.03862, allocations: 5.841 MB / 0.5151 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.03862, allocations: 0 / 0.5151 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.03862, allocations: 0.8438 kB / 0.5151 GB, free: 5.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001272/0.03875, allocations: 3.938 kB / 0.5151 GB, free: 5.234 MB / 442.7 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.00658/0.04533, allocations: 4.338 MB / 0.5194 GB, free: 2.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.04538, allocations: 10.94 kB / 0.5194 GB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/0.04569, allocations: 315.1 kB / 0.5197 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.04792, allocations: 0.8858 MB / 0.5205 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.05031, allocations: 2.297 MB / 0.5228 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.05062, allocations: 0.8378 MB / 0.5236 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.05089, allocations: 230.6 kB / 0.5238 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.05456, allocations: 3.409 MB / 0.5271 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.05459, allocations: 1.094 kB / 0.5272 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.05477, allocations: 96.41 kB / 0.5272 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.05481, allocations: 53.56 kB / 0.5273 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.05835, allocations: 2.445 MB / 0.5297 GB, free: 11.93 MB / 458.7 MB 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.009229/0.06758, allocations: 9.031 MB / 0.5385 GB, free: 4.883 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.07126, allocations: 2.381 MB / 0.5408 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.07296, allocations: 1.076 MB / 0.5419 GB, free: 2.488 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.07306, allocations: 29.98 kB / 0.5419 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.07492, allocations: 1.651 MB / 0.5435 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 4.218e-06/0.07492, allocations: 0 / 0.5435 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of matching and sorting (n=185): time 0.006195/0.08112, allocations: 3.991 MB / 0.5474 GB, free: 12.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/0.08132, allocations: 0.4889 MB / 0.5479 GB, free: 12.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.08474, allocations: 2.735 MB / 0.5506 GB, free: 9.395 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.08487, allocations: 77.69 kB / 0.5506 GB, free: 9.312 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008884/0.08576, allocations: 1.378 MB / 0.552 GB, free: 7.922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.08624, allocations: 0.6276 MB / 0.5526 GB, free: 7.289 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/0.08669, allocations: 355.4 kB / 0.5529 GB, free: 6.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.08677, allocations: 305.1 kB / 0.5532 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.08821, allocations: 1.061 MB / 0.5543 GB, free: 5.562 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.09036, allocations: 1.938 MB / 0.5562 GB, free: 3.355 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009127/0.09949, allocations: 5.566 MB / 0.5616 GB, free: 13.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.0995, allocations: 4 kB / 0.5616 GB, free: 13.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00555/0.1051, allocations: 3.26 MB / 0.5648 GB, free: 10.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.1051, allocations: 42.5 kB / 0.5648 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1051, allocations: 8 kB / 0.5648 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.1055, allocations: 324.7 kB / 0.5651 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.1068, allocations: 495.2 kB / 0.5656 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.1068, allocations: 19.94 kB / 0.5656 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.1081, allocations: 330.4 kB / 0.5659 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.1082, allocations: 75.98 kB / 0.566 GB, free: 9.07 MB / 490.7 MB 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.002703/0.1109, allocations: 1.633 MB / 0.5676 GB, free: 7.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002162/0.1131, allocations: 1.882 MB / 0.5694 GB, free: 5.285 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008614/0.1217, allocations: 5.41 MB / 0.5747 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.844e-06/0.1217, allocations: 4 kB / 0.5747 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004663/0.1264, allocations: 3.163 MB / 0.5778 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1264, allocations: 37.7 kB / 0.5779 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1264, allocations: 11.94 kB / 0.5779 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.1267, allocations: 320.8 kB / 0.5782 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.1278, allocations: 471.3 kB / 0.5786 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.1278, allocations: 27.92 kB / 0.5786 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.129, allocations: 282.9 kB / 0.5789 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.1291, allocations: 75.98 kB / 0.579 GB, free: 11.32 MB / 0.4948 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.0006655/0.1298, allocations: 496.8 kB / 0.5795 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.1301, allocations: 329.9 kB / 0.5798 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/0.1353, allocations: 3.072 MB / 0.5828 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1353, allocations: 20 kB / 0.5828 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1353, allocations: 7.938 kB / 0.5828 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.1354, allocations: 11.97 kB / 0.5828 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007435/0.1428, allocations: 5.993 MB / 0.5887 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.1428, allocations: 7.984 kB / 0.5887 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.1441, allocations: 415.4 kB / 0.5891 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.1444, allocations: 300.7 kB / 0.5894 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1445, allocations: 51.97 kB / 0.5894 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1445, allocations: 8 kB / 0.5894 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1445, allocations: 3.938 kB / 0.5894 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006328/0.1508, allocations: 4.638 MB / 0.594 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000949/0.1518, allocations: 0.6341 MB / 0.5946 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.152, allocations: 56 kB / 0.5946 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/0.153, allocations: 195.8 kB / 0.5948 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/0.1533, allocations: 201.6 kB / 0.595 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.1534, allocations: 59.97 kB / 0.5951 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00244/0.1558, allocations: 1.839 MB / 0.5969 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1558, allocations: 3.938 kB / 0.5969 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001933/0.1578, allocations: 1.017 MB / 0.5979 GB, free: 7.844 MB / 0.5105 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.007832/0.1656, allocations: 5.603 MB / 0.6033 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006165/0.1718, allocations: 4.056 MB / 0.6073 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1718, allocations: 0 / 0.6073 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.1735, allocations: 1.372 MB / 0.6086 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.1751, allocations: 0.503 MB / 0.6091 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0432/0.2183, allocations: 25.51 MB / 0.634 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/0.2193, allocations: 1.207 MB / 0.6352 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001413/0.2207, allocations: 374 kB / 0.6356 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.222, allocations: 1.25 MB / 0.6368 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.222, allocations: 0 / 0.6368 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.5404, allocations: 69.22 MB / 0.7044 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/10.5, allocations: 15.94 kB / 0.7044 GB, free: 171.5 MB / 0.5886 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 13.571733634918928] Failed to read output from testmodel.py, exit status != 0: 10.638670533895493 10.647323177 10.607031159 Calling exit ...