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.0009374/0.0009374, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0009412/0.0009412, allocations: 169.2 kB / 23.98 MB, free: 0.5742 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.9706/0.9706, allocations: 158.6 MB / 185.8 MB, free: 3.031 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.437/0.437, allocations: 76.91 MB / 314.9 MB, free: 10.74 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: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 490.5 MB, free: 27.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.387e-05, allocations: 2.844 kB / 490.5 MB, free: 27.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.008272/0.008306, allocations: 10.65 MB / 0.4894 GB, free: 20.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007845/0.01615, allocations: 6.008 MB / 0.4953 GB, free: 16.31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.01807, allocations: 89.22 kB / 0.4954 GB, free: 16.27 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.001446/0.01952, allocations: 0.6374 MB / 0.496 GB, free: 15.88 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.001932/0.02145, allocations: 0.9046 MB / 0.4969 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.02489, allocations: 2.795 MB / 0.4996 GB, free: 13.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.02831, allocations: 4.366 MB / 0.5039 GB, free: 11.03 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.02972, allocations: 1.04 MB / 0.5049 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.0318, allocations: 1.47 MB / 0.5063 GB, free: 9.516 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.0332, allocations: 1.213 MB / 0.5075 GB, free: 8.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006819/0.03389, allocations: 473.4 kB / 0.5079 GB, free: 8.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.03498, allocations: 0.6742 MB / 0.5086 GB, free: 8.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005279/0.03551, allocations: 0.951 MB / 0.5095 GB, free: 8.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03654, allocations: 1.146 MB / 0.5107 GB, free: 7.445 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.04296, allocations: 5.842 MB / 0.5164 GB, free: 4.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.04296, allocations: 0 / 0.5164 GB, free: 4.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.04297, allocations: 0 / 0.5164 GB, free: 4.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.0431, allocations: 5.312 kB / 0.5164 GB, free: 4.973 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.008415/0.05151, allocations: 4.333 MB / 0.5206 GB, free: 2.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.05157, allocations: 9.078 kB / 0.5206 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.05409, allocations: 0.8929 MB / 0.5215 GB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.05699, allocations: 2.285 MB / 0.5237 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.0574, allocations: 0.8463 MB / 0.5245 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.05772, allocations: 226.6 kB / 0.5248 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.06211, allocations: 3.404 MB / 0.5281 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.06215, allocations: 5.906 kB / 0.5281 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.06233, allocations: 101 kB / 0.5282 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.06238, allocations: 53.22 kB / 0.5282 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.06622, allocations: 2.451 MB / 0.5306 GB, free: 11.82 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.01107/0.07729, allocations: 8.684 MB / 0.5391 GB, free: 5.016 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.08111, allocations: 2.38 MB / 0.5414 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.08252, allocations: 1.074 MB / 0.5425 GB, free: 2.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.08262, allocations: 25.98 kB / 0.5425 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.08453, allocations: 1.654 MB / 0.5441 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 4.268e-06/0.08454, allocations: 11.94 kB / 0.5441 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of matching and sorting (n=185): time 0.006624/0.09116, allocations: 3.96 MB / 0.548 GB, free: 12.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.09135, allocations: 0.4888 MB / 0.5485 GB, free: 12.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.0942, allocations: 2.465 MB / 0.5509 GB, free: 9.836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.09437, allocations: 73.7 kB / 0.5509 GB, free: 9.758 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009705/0.09534, allocations: 1.376 MB / 0.5523 GB, free: 8.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.0959, allocations: 0.6237 MB / 0.5529 GB, free: 7.742 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/0.09637, allocations: 363.4 kB / 0.5532 GB, free: 7.379 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.09646, allocations: 305.1 kB / 0.5535 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.09819, allocations: 1.072 MB / 0.5546 GB, free: 5.996 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.1, allocations: 1.93 MB / 0.5565 GB, free: 3.797 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009589/0.1096, allocations: 5.551 MB / 0.5619 GB, free: 14.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.1096, allocations: 8 kB / 0.5619 GB, free: 14.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00501/0.1146, allocations: 3.241 MB / 0.5651 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.1147, allocations: 45.84 kB / 0.5651 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.1147, allocations: 12 kB / 0.5651 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.1151, allocations: 320.7 kB / 0.5654 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.1164, allocations: 495.2 kB / 0.5659 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.1164, allocations: 23.94 kB / 0.5659 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.1178, allocations: 294.8 kB / 0.5662 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1179, allocations: 75.98 kB / 0.5663 GB, free: 9.57 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.00313/0.1211, allocations: 1.63 MB / 0.5679 GB, free: 7.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001731/0.1228, allocations: 1.88 MB / 0.5697 GB, free: 5.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008991/0.1318, allocations: 5.414 MB / 0.575 GB, free: 224 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.1318, allocations: 0 / 0.575 GB, free: 224 kB / 490.7 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004674/0.1365, allocations: 3.139 MB / 0.5781 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.1365, allocations: 37.7 kB / 0.5781 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1365, allocations: 8 kB / 0.5781 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.1368, allocations: 321.1 kB / 0.5784 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.138, allocations: 471.2 kB / 0.5789 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.138, allocations: 23.92 kB / 0.5789 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.1392, allocations: 290.9 kB / 0.5792 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.1393, allocations: 75.98 kB / 0.5792 GB, free: 11.84 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.0007244/0.14, allocations: 485.9 kB / 0.5797 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.1404, allocations: 298.1 kB / 0.58 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/0.1451, allocations: 3.054 MB / 0.583 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.1451, allocations: 20 kB / 0.583 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1451, allocations: 4 kB / 0.583 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.1451, allocations: 11.95 kB / 0.583 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/0.153, allocations: 5.766 MB / 0.5886 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.153, allocations: 0 / 0.5886 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.1542, allocations: 415.5 kB / 0.589 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.1545, allocations: 308.6 kB / 0.5893 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.1546, allocations: 47.98 kB / 0.5894 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.1546, allocations: 7.984 kB / 0.5894 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1546, allocations: 0 / 0.5894 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/0.1605, allocations: 4.617 MB / 0.5939 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/0.1614, allocations: 0.5953 MB / 0.5945 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.1616, allocations: 56 kB / 0.5945 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/0.1625, allocations: 195.8 kB / 0.5947 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/0.1628, allocations: 201.6 kB / 0.5949 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.1629, allocations: 63.97 kB / 0.5949 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002156/0.165, allocations: 1.636 MB / 0.5965 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.165, allocations: 0 / 0.5965 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002007/0.167, allocations: 1.079 MB / 0.5976 GB, free: 8.875 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.0009948/0.168, allocations: 0.5048 MB / 0.5981 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005709/0.1738, allocations: 4.079 MB / 0.6021 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1738, allocations: 0 / 0.6021 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.1758, allocations: 1.376 MB / 0.6034 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.1772, allocations: 494 kB / 0.6039 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.1848, allocations: 5.606 MB / 0.6094 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.186, allocations: 1.202 MB / 0.6105 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.1866, allocations: 192.5 kB / 0.6107 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.1866, allocations: 0 / 0.6107 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.05566/0.2423, allocations: 55.64 MB / 0.6651 GB, free: 3.859 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.334251099266112] Failed to read output from testmodel.py, exit status != 0: 0.2486330708488822 0.257279018 0.21266162800000002 Calling exit ...