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.001632/0.001632, allocations: 96.36 kB / 20.46 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 215.6 kB / 23.77 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.6584/0.6584, allocations: 103.8 MB / 390.7 MB, free: 21.12 MB / 318.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 68.98 kB / 0.5529 GB, free: 58.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1833, allocations: 76 MB / 0.6271 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01382/0.1971, allocations: 10.65 MB / 0.6375 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.2128, allocations: 5.994 MB / 0.6433 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.2174, allocations: 91.31 kB / 0.6434 GB, free: 7.746 MB / 478.1 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.00348/0.2209, allocations: 0.6378 MB / 0.644 GB, free: 7.105 MB / 478.1 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.005744/0.2266, allocations: 0.8768 MB / 0.6449 GB, free: 6.223 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008527/0.2351, allocations: 2.764 MB / 0.6476 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009369/0.2445, allocations: 4.374 MB / 0.6519 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004024/0.2485, allocations: 1.035 MB / 0.6529 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.2527, allocations: 1.599 MB / 0.6544 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.2566, allocations: 1.468 MB / 0.6559 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.2592, allocations: 472 kB / 0.6563 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.2626, allocations: 0.6678 MB / 0.657 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.2648, allocations: 0.9383 MB / 0.6579 GB, free: 8.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.2684, allocations: 1.399 MB / 0.6593 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.2802, allocations: 5.706 MB / 0.6648 GB, free: 1.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.2802, allocations: 4 kB / 0.6648 GB, free: 1.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2802, allocations: 0 / 0.6648 GB, free: 1.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.2804, allocations: 0 / 0.6648 GB, free: 1.695 MB / 494.1 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.01571/0.2962, allocations: 4.386 MB / 0.6691 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.2962, allocations: 8.031 kB / 0.6691 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.3007, allocations: 0.8846 MB / 0.67 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005648/0.3063, allocations: 2.282 MB / 0.6722 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009042/0.3072, allocations: 0.8545 MB / 0.6731 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000624/0.3079, allocations: 227.9 kB / 0.6733 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00714/0.315, allocations: 3.41 MB / 0.6766 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.3151, allocations: 7.938 kB / 0.6766 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.3153, allocations: 99.98 kB / 0.6767 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.3154, allocations: 52 kB / 0.6768 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006345/0.3217, allocations: 2.446 MB / 0.6791 GB, free: 2.422 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.3403, allocations: 8.694 MB / 0.6876 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00669/0.3469, allocations: 2.368 MB / 0.69 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.3499, allocations: 1.086 MB / 0.691 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.3501, allocations: 25.98 kB / 0.691 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003543/0.3536, allocations: 1.666 MB / 0.6927 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=185): time 5.47e-06/0.3536, allocations: 0 / 0.6927 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=185): time 0.01148/0.3651, allocations: 3.971 MB / 0.6965 GB, free: 352 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004324/0.3655, allocations: 0.4889 MB / 0.697 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.3702, allocations: 2.469 MB / 0.6994 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004826/0.3706, allocations: 73.7 kB / 0.6995 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.3724, allocations: 1.376 MB / 0.7008 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000993/0.3734, allocations: 0.6276 MB / 0.7015 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009644/0.3744, allocations: 363.4 kB / 0.7018 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3746, allocations: 301.1 kB / 0.7021 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.3774, allocations: 1.068 MB / 0.7031 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.381, allocations: 1.933 MB / 0.705 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/0.4001, allocations: 5.562 MB / 0.7105 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.4002, allocations: 4 kB / 0.7105 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01035/0.4105, allocations: 3.233 MB / 0.7136 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.325e-05/0.4106, allocations: 45.69 kB / 0.7137 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.4106, allocations: 15.92 kB / 0.7137 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.4113, allocations: 321.3 kB / 0.714 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.4141, allocations: 487.3 kB / 0.7144 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.842e-05/0.4141, allocations: 27.92 kB / 0.7145 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.417, allocations: 298.7 kB / 0.7148 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.4173, allocations: 75.98 kB / 0.7148 GB, free: 12.98 MB / 0.545 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004806/0.4221, allocations: 1.618 MB / 0.7164 GB, free: 11.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003821/0.426, allocations: 1.867 MB / 0.7182 GB, free: 9.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01943/0.4454, allocations: 5.434 MB / 0.7235 GB, free: 3.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.207e-05/0.4454, allocations: 4 kB / 0.7235 GB, free: 3.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.01037/0.4558, allocations: 3.127 MB / 0.7266 GB, free: 484 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/0.4559, allocations: 46.44 kB / 0.7266 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4559, allocations: 8 kB / 0.7266 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.4564, allocations: 320.7 kB / 0.727 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/0.4591, allocations: 483.2 kB / 0.7274 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.081e-05/0.4592, allocations: 19.94 kB / 0.7274 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.4622, allocations: 282.9 kB / 0.7277 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/0.4626, allocations: 75.98 kB / 0.7278 GB, free: 15.25 MB / 0.5606 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.001462/0.464, allocations: 487.1 kB / 0.7282 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/0.4653, allocations: 302.1 kB / 0.7285 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/0.4745, allocations: 3.058 MB / 0.7315 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.4746, allocations: 19.94 kB / 0.7315 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.4746, allocations: 4 kB / 0.7315 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.4746, allocations: 7.969 kB / 0.7315 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.4907, allocations: 5.762 MB / 0.7372 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.4907, allocations: 4 kB / 0.7372 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/0.4934, allocations: 415.5 kB / 0.7376 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.4939, allocations: 300.7 kB / 0.7379 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/0.4942, allocations: 55.97 kB / 0.7379 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/0.4942, allocations: 11.94 kB / 0.7379 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4942, allocations: 3.984 kB / 0.7379 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.5059, allocations: 4.617 MB / 0.7424 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.5079, allocations: 0.5916 MB / 0.743 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/0.5087, allocations: 56 kB / 0.7431 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/0.511, allocations: 195.7 kB / 0.7433 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/0.5116, allocations: 201.6 kB / 0.7434 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.5118, allocations: 63.97 kB / 0.7435 GB, free: 15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004524/0.5163, allocations: 1.644 MB / 0.7451 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5163, allocations: 0 / 0.7451 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006201/0.5225, allocations: 1.079 MB / 0.7462 GB, free: 12.27 MB / 0.5762 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.002287/0.5248, allocations: 0.4945 MB / 0.7466 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.5357, allocations: 4.071 MB / 0.7506 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.5357, allocations: 4 kB / 0.7506 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.5393, allocations: 1.377 MB / 0.752 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.5431, allocations: 491.7 kB / 0.7524 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.5594, allocations: 5.708 MB / 0.758 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/0.5621, allocations: 1.21 MB / 0.7592 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.5636, allocations: 191.4 kB / 0.7594 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/0.5636, allocations: 0 / 0.7594 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.426/0.9896, allocations: 55.51 MB / 0.8136 GB, free: 137.5 MB / 0.6075 GB " [Timeout remaining time 659] 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: 13.277298978995532] Failed to read output from testmodel.py, exit status != 0: 1.3657445441931486 1.008033815 0.725213749 Calling exit ...