Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.0008861/0.0008861, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.0009377/0.0009377, allocations: 173.2 kB / 23.23 MB, free: 1.32 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.9229/0.9229, allocations: 158.6 MB / 185 MB, free: 3.043 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.3987/0.3987, allocations: 76.92 MB / 314.2 MB, free: 10.76 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.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 489.2 MB, free: 28.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.291e-05, allocations: 7.344 kB / 489.2 MB, free: 28.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.008987/0.00901, allocations: 11.27 MB / 0.4888 GB, free: 20.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.02025, allocations: 6.237 MB / 0.4949 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/0.02513, allocations: 93.06 kB / 0.495 GB, free: 15.92 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.004087/0.02922, allocations: 0.6859 MB / 0.4956 GB, free: 15.48 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.006008/0.03523, allocations: 0.9423 MB / 0.4965 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.04085, allocations: 2.896 MB / 0.4994 GB, free: 12.96 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006468/0.04732, allocations: 4.647 MB / 0.5039 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.04985, allocations: 1.123 MB / 0.505 GB, free: 9.645 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.0528, allocations: 1.55 MB / 0.5065 GB, free: 8.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.05539, allocations: 1.285 MB / 0.5078 GB, free: 8.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.05725, allocations: 0.4921 MB / 0.5083 GB, free: 8.164 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.05892, allocations: 0.7047 MB / 0.5089 GB, free: 8.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008984/0.05981, allocations: 1.018 MB / 0.5099 GB, free: 7.344 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.06195, allocations: 1.221 MB / 0.5111 GB, free: 6.562 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008214/0.07016, allocations: 6.211 MB / 0.5172 GB, free: 3.945 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.07017, allocations: 4 kB / 0.5172 GB, free: 3.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.07017, allocations: 0 / 0.5172 GB, free: 3.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002487/0.07042, allocations: 5.312 kB / 0.5172 GB, free: 3.938 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: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.0119/0.08232, allocations: 4.596 MB / 0.5217 GB, free: 1.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.08237, allocations: 8.688 kB / 0.5217 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007439/0.08311, allocations: 342.3 kB / 0.522 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.08613, allocations: 0.9147 MB / 0.5229 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/0.09138, allocations: 2.43 MB / 0.5253 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/0.09199, allocations: 0.86 MB / 0.5261 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006375/0.09263, allocations: 246.9 kB / 0.5264 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005765/0.09839, allocations: 3.622 MB / 0.5299 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.276e-05/0.09846, allocations: 6.406 kB / 0.5299 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.09876, allocations: 111 kB / 0.53 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.09881, allocations: 58.12 kB / 0.5301 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.1037, allocations: 2.585 MB / 0.5326 GB, free: 9.699 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.01615/0.1199, allocations: 9.971 MB / 0.5423 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.124, allocations: 2.467 MB / 0.5447 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.1256, allocations: 1.121 MB / 0.5458 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1257, allocations: 33.92 kB / 0.5459 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.1278, allocations: 1.705 MB / 0.5475 GB, free: 12.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=197): time 4.278e-06/0.1278, allocations: 0 / 0.5475 GB, free: 12.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.007674/0.1355, allocations: 4.143 MB / 0.5516 GB, free: 8.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.1357, allocations: 496.6 kB / 0.5521 GB, free: 7.824 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/0.1396, allocations: 2.893 MB / 0.5549 GB, free: 4.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.1399, allocations: 69.7 kB / 0.5549 GB, free: 4.852 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.141, allocations: 1.492 MB / 0.5564 GB, free: 3.348 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006911/0.1417, allocations: 0.6623 MB / 0.5571 GB, free: 2.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.1422, allocations: 387.8 kB / 0.5574 GB, free: 2.297 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.1423, allocations: 305.1 kB / 0.5577 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.1441, allocations: 1.116 MB / 0.5588 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.1462, allocations: 2.014 MB / 0.5608 GB, free: 14.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.1563, allocations: 5.834 MB / 0.5665 GB, free: 8.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.1563, allocations: 4 kB / 0.5665 GB, free: 8.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005653/0.1619, allocations: 3.428 MB / 0.5698 GB, free: 5.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.162, allocations: 41.73 kB / 0.5699 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.162, allocations: 12 kB / 0.5699 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.1624, allocations: 320.7 kB / 0.5702 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.1638, allocations: 0.5032 MB / 0.5707 GB, free: 4.203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.1638, allocations: 31.86 kB / 0.5707 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.1657, allocations: 354.2 kB / 0.571 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.1659, allocations: 83.98 kB / 0.5711 GB, free: 3.742 MB / 490.7 MB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.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.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_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002914/0.1688, allocations: 1.71 MB / 0.5728 GB, free: 2.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001904/0.1707, allocations: 1.963 MB / 0.5747 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009936/0.1806, allocations: 5.685 MB / 0.5803 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.1806, allocations: 4 kB / 0.5803 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.005478/0.1861, allocations: 3.33 MB / 0.5835 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/0.1862, allocations: 41.12 kB / 0.5835 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1862, allocations: 12 kB / 0.5836 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.1865, allocations: 313.3 kB / 0.5839 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.1878, allocations: 0.4914 MB / 0.5843 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/0.1878, allocations: 27.92 kB / 0.5844 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.1897, allocations: 310.7 kB / 0.5847 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.1898, allocations: 83.98 kB / 0.5847 GB, free: 5.293 MB / 0.4948 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze.Y0 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.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.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.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_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: 48 * Number of states: 0 () * Number of discrete variables: 59 ($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.rateLimFirstOrderFreeze.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,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.y,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_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * 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.0007593/0.1906, allocations: 499.8 kB / 0.5852 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006151/0.1912, allocations: 345.8 kB / 0.5855 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.196, allocations: 3.188 MB / 0.5887 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.196, allocations: 20 kB / 0.5887 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.196, allocations: 4 kB / 0.5887 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.196, allocations: 11.95 kB / 0.5887 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009163/0.2052, allocations: 6.268 MB / 0.5948 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2052, allocations: 0 / 0.5948 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.2066, allocations: 439.3 kB / 0.5952 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.207, allocations: 316.6 kB / 0.5955 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.2071, allocations: 51.97 kB / 0.5956 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.2071, allocations: 8 kB / 0.5956 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2071, allocations: 0 / 0.5956 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006952/0.2141, allocations: 4.823 MB / 0.6003 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.2157, allocations: 0.6653 MB / 0.601 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/0.216, allocations: 63.92 kB / 0.601 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.2171, allocations: 195.8 kB / 0.6012 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.2175, allocations: 205.6 kB / 0.6014 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.2177, allocations: 63.97 kB / 0.6015 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002863/0.2205, allocations: 1.934 MB / 0.6033 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2205, allocations: 0 / 0.6033 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002964/0.2235, allocations: 1.087 MB / 0.6044 GB, free: 1.004 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.driveTrainPmConstrant.dPhi.y,WTG4A.driveTrainPmConstrant.dOmegaTurbine.y,WTG4A.driveTrainPmConstrant.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($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.y,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,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 (196): * Single equations (assignments): 185 * 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.009289/0.2328, allocations: 5.793 MB / 0.6101 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007286/0.2401, allocations: 4.255 MB / 0.6142 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.2401, allocations: 4 kB / 0.6142 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.2422, allocations: 1.416 MB / 0.6156 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.2448, allocations: 0.5271 MB / 0.6161 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05727/0.302, allocations: 26.93 MB / 0.6424 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.3035, allocations: 1.287 MB / 0.6437 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001889/0.3054, allocations: 399.1 kB / 0.6441 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.3071, allocations: 1.348 MB / 0.6454 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of SimCode: time 1.864e-06/0.3071, allocations: 0 / 0.6454 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/0.6511, allocations: 72.6 MB / 0.7163 GB, free: 170.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.79, allocations: 3.156 kB / 0.7163 GB, free: 170.4 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_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_WTG4ACurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.852837170474231] Failed to read output from testmodel.py, exit status != 0: 10.929619629867375 10.938168077 10.866209998 Calling exit ...