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.001065/0.001065, allocations: 87.56 kB / 20.45 MB, free: 4.129 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.001158/0.001158, allocations: 165 kB / 23.82 MB, free: 0.7578 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.8293/0.8293, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.4008/0.4008, allocations: 76.92 MB / 315 MB, free: 10.67 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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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 2.114e-06/2.114e-06, allocations: 0 / 415.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.134e-05, allocations: 2.312 kB / 415.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01537/0.0154, allocations: 11.4 MB / 426.8 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.02774, allocations: 6.118 MB / 432.9 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.03039, allocations: 83.38 kB / 433 MB, free: 6.363 MB / 410.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.001704/0.03209, allocations: 0.6428 MB / 433.6 MB, free: 5.715 MB / 410.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.002772/0.03486, allocations: 0.9035 MB / 434.5 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.03924, allocations: 2.776 MB / 437.3 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005027/0.04427, allocations: 4.371 MB / 441.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.04598, allocations: 1.039 MB / 442.7 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.04802, allocations: 1.472 MB / 444.2 MB, free: 11.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.04973, allocations: 1.226 MB / 445.4 MB, free: 9.816 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005264/0.05025, allocations: 472 kB / 445.9 MB, free: 9.355 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008359/0.05109, allocations: 0.6716 MB / 446.5 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.05162, allocations: 0.9537 MB / 447.5 MB, free: 7.727 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009916/0.05261, allocations: 1.149 MB / 448.6 MB, free: 6.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.05682, allocations: 3.032 MB / 451.7 MB, free: 3.531 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.05683, allocations: 0 / 451.7 MB, free: 3.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.05683, allocations: 0 / 451.7 MB, free: 3.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.942e-05/0.05691, allocations: 0 / 451.7 MB, free: 3.531 MB / 426.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.006265/0.06317, allocations: 4.364 MB / 456 MB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.06321, allocations: 8.031 kB / 456 MB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.06568, allocations: 1.15 MB / 457.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.0685, allocations: 2.296 MB / 459.5 MB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.06889, allocations: 0.8432 MB / 460.3 MB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.06915, allocations: 236.3 kB / 460.6 MB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.07208, allocations: 2.609 MB / 463.2 MB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.07212, allocations: 3.938 kB / 463.2 MB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.07226, allocations: 104 kB / 463.3 MB, free: 7.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.0723, allocations: 52 kB / 463.3 MB, free: 7.223 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.07406, allocations: 0.9818 MB / 464.3 MB, free: 6.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1718/0.2459, allocations: 9.292 MB / 473.6 MB, free: 74.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.2482, allocations: 1.239 MB / 474.8 MB, free: 74.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.2489, allocations: 444.9 kB / 475.3 MB, free: 74.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.249, allocations: 40.08 kB / 475.3 MB, free: 74.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.2501, allocations: 1.004 MB / 476.3 MB, free: 74.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.97e-06/0.2501, allocations: 3.781 kB / 476.3 MB, free: 74.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=185): time 0.003953/0.254, allocations: 2.128 MB / 478.4 MB, free: 74.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.2541, allocations: 0.4889 MB / 478.9 MB, free: 73.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.2562, allocations: 2.073 MB / 481 MB, free: 73.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.2563, allocations: 76.42 kB / 481.1 MB, free: 73.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.2571, allocations: 1.442 MB / 482.5 MB, free: 73.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.2575, allocations: 0.6248 MB / 483.1 MB, free: 72.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.2579, allocations: 373.3 kB / 483.5 MB, free: 72.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.2579, allocations: 483.9 kB / 484 MB, free: 72.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.2586, allocations: 391 kB / 484.4 MB, free: 72.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.2595, allocations: 1.361 MB / 485.7 MB, free: 70.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.2617, allocations: 1.754 MB / 487.5 MB, free: 70.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.2617, allocations: 6.656 kB / 487.5 MB, free: 70.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003137/0.2648, allocations: 1.906 MB / 489.4 MB, free: 70.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.2649, allocations: 37.42 kB / 489.4 MB, free: 69.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.2649, allocations: 11.05 kB / 489.4 MB, free: 69.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.2652, allocations: 221.1 kB / 489.7 MB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.2665, allocations: 449.5 kB / 490.1 MB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.2665, allocations: 22.03 kB / 490.1 MB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.2675, allocations: 247.5 kB / 490.4 MB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.2676, allocations: 74.98 kB / 490.4 MB, free: 69.88 MB / 442.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.001314/0.2689, allocations: 0.6586 MB / 491.1 MB, free: 69.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009481/0.2699, allocations: 1.365 MB / 492.5 MB, free: 68.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002062/0.2719, allocations: 1.733 MB / 494.2 MB, free: 67.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/0.2719, allocations: 3.312 kB / 494.2 MB, free: 67.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003011/0.2749, allocations: 1.893 MB / 496.1 MB, free: 67.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.275, allocations: 38.94 kB / 496.1 MB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.275, allocations: 8.938 kB / 496.1 MB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.2752, allocations: 223 kB / 496.4 MB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2764, allocations: 444 kB / 496.8 MB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.102e-05/0.2764, allocations: 21.06 kB / 496.8 MB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.2774, allocations: 239.6 kB / 497 MB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.2775, allocations: 82.28 kB / 497.1 MB, free: 67.35 MB / 442.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: 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.0005968/0.2781, allocations: 0.5562 MB / 497.7 MB, free: 67.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.2786, allocations: 368.6 kB / 498 MB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.2816, allocations: 1.763 MB / 499.8 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.2816, allocations: 22.91 kB / 499.8 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.2816, allocations: 4.719 kB / 499.8 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.2816, allocations: 11.88 kB / 499.8 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.2876, allocations: 4.257 MB / 0.4923 GB, free: 64.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2876, allocations: 0 / 0.4923 GB, free: 64.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.2889, allocations: 375.9 kB / 0.4926 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.2891, allocations: 210.3 kB / 0.4928 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.2893, allocations: 52.5 kB / 0.4929 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.2893, allocations: 9.719 kB / 0.4929 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2893, allocations: 0 / 0.4929 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.2932, allocations: 2.458 MB / 0.4953 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/0.2941, allocations: 0.5921 MB / 0.4959 GB, free: 63.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.2944, allocations: 54.78 kB / 0.4959 GB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.2951, allocations: 144.3 kB / 0.4961 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.2954, allocations: 188.5 kB / 0.4962 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.2955, allocations: 62.22 kB / 0.4963 GB, free: 63.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.297, allocations: 1.232 MB / 0.4975 GB, free: 62.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.297, allocations: 0 / 0.4975 GB, free: 62.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002116/0.2991, allocations: 1.071 MB / 0.4986 GB, free: 62.52 MB / 442.7 MB 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.00105/0.3002, allocations: 470.7 kB / 0.499 GB, free: 62.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004329/0.3045, allocations: 2.235 MB / 0.5012 GB, free: 61.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3045, allocations: 8.156 kB / 0.5012 GB, free: 61.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3056, allocations: 0.7989 MB / 0.502 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.3073, allocations: 0.5355 MB / 0.5025 GB, free: 61.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.3136, allocations: 4.721 MB / 0.5071 GB, free: 58.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.3141, allocations: 469.4 kB / 0.5076 GB, free: 58.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.3153, allocations: 346.3 kB / 0.5079 GB, free: 58.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.3158, allocations: 181.2 kB / 0.5081 GB, free: 58.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/0.3158, allocations: 0 / 0.5081 GB, free: 58.68 MB / 442.7 MB Notification: Performance of Templates: time 0.04097/0.3568, allocations: 36.55 MB / 0.5437 GB, free: 29.01 MB / 442.7 MB " [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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.111432534176856]