Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.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.001391/0.001391, allocations: 104.3 kB / 19.72 MB, free: 1.895 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.001604/0.001604, allocations: 213.9 kB / 23.02 MB, free: 4.996 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.572/1.572, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.652/0.652, allocations: 114.3 MB / 400.4 MB, free: 17.12 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") [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.002633/0.002633, allocations: 78.77 kB / 0.5676 GB, free: 42.44 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1608, allocations: 78.65 MB / 0.6444 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1): time 0.01708/0.1778, allocations: 11.9 MB / 0.656 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.1913, allocations: 6.345 MB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.1954, allocations: 99.31 kB / 0.6623 GB, free: 10.85 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.002969/0.1984, allocations: 0.7749 MB / 0.6631 GB, free: 10.07 MB / 0.4981 GB [/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.004647/0.203, allocations: 1.015 MB / 0.6641 GB, free: 9.051 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007487/0.2105, allocations: 3.071 MB / 0.6671 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00816/0.2186, allocations: 4.841 MB / 0.6718 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.2217, allocations: 1.219 MB / 0.673 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.2248, allocations: 1.79 MB / 0.6747 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.2276, allocations: 1.885 MB / 0.6766 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.2287, allocations: 0.5195 MB / 0.6771 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.2308, allocations: 0.8201 MB / 0.6779 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.232, allocations: 1.071 MB / 0.6789 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.2342, allocations: 1.574 MB / 0.6805 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00838/0.2426, allocations: 6.422 MB / 0.6867 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2426, allocations: 0 / 0.6867 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2426, allocations: 4 kB / 0.6867 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000175/0.2427, allocations: 0 / 0.6867 GB, free: 1.719 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01481/0.2576, allocations: 4.975 MB / 0.6916 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2576, allocations: 12.03 kB / 0.6916 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.2628, allocations: 0.9507 MB / 0.6925 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/0.2691, allocations: 2.488 MB / 0.695 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009327/0.27, allocations: 0.9325 MB / 0.6959 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007719/0.2708, allocations: 263.9 kB / 0.6961 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008139/0.2789, allocations: 3.67 MB / 0.6997 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/0.279, allocations: 7.938 kB / 0.6997 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.2793, allocations: 108 kB / 0.6998 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.2793, allocations: 60 kB / 0.6999 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007121/0.2864, allocations: 2.766 MB / 0.7026 GB, free: 0.8828 MB / 0.5294 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.02021/0.3067, allocations: 9.94 MB / 0.7123 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/0.3134, allocations: 2.642 MB / 0.7149 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.3163, allocations: 1.194 MB / 0.716 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.3165, allocations: 33.98 kB / 0.7161 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003585/0.3201, allocations: 1.739 MB / 0.7178 GB, free: 1.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 5.03e-06/0.3201, allocations: 0 / 0.7178 GB, free: 1.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=215): time 0.01164/0.3317, allocations: 4.279 MB / 0.7219 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003643/0.3321, allocations: 478.9 kB / 0.7224 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005131/0.3372, allocations: 2.808 MB / 0.7251 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005514/0.3378, allocations: 85.7 kB / 0.7252 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.3394, allocations: 1.498 MB / 0.7267 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.3405, allocations: 0.7672 MB / 0.7274 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.3416, allocations: 0.6008 MB / 0.728 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3417, allocations: 309.1 kB / 0.7283 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/0.3449, allocations: 1.466 MB / 0.7297 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.3489, allocations: 2.397 MB / 0.7321 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02218/0.3711, allocations: 7.281 MB / 0.7392 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/0.3711, allocations: 8 kB / 0.7392 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01057/0.3817, allocations: 4.319 MB / 0.7434 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3818, allocations: 61.61 kB / 0.7435 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.3818, allocations: 16.81 kB / 0.7435 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.3824, allocations: 320.7 kB / 0.7438 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.3856, allocations: 0.7099 MB / 0.7445 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.3856, allocations: 31.88 kB / 0.7445 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.3887, allocations: 386.1 kB / 0.7449 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.389, allocations: 112 kB / 0.745 GB, free: 4.492 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005103/0.3941, allocations: 2.103 MB / 0.7471 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003973/0.3981, allocations: 2.335 MB / 0.7493 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02292/0.421, allocations: 7.145 MB / 0.7563 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.773e-05/0.421, allocations: 4 kB / 0.7563 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=421) (initialization_lambda0): time 0.01325/0.4343, allocations: 4.223 MB / 0.7604 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-05/0.4344, allocations: 57.67 kB / 0.7605 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/0.4344, allocations: 11.98 kB / 0.7605 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.4349, allocations: 316.9 kB / 0.7608 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/0.4386, allocations: 0.6864 MB / 0.7615 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-05/0.4386, allocations: 31.92 kB / 0.7615 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.4421, allocations: 362.7 kB / 0.7619 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005649/0.4427, allocations: 119.9 kB / 0.762 GB, free: 2.574 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running.value,WTG4A.wecc_regc.Qinj0PuNeg.k,WTG4A.wecc_regc.QInj0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 396 * 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.001641/0.4443, allocations: 498.5 kB / 0.7624 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.4456, allocations: 333.9 kB / 0.7628 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009875/0.4555, allocations: 3.303 MB / 0.766 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.4555, allocations: 24 kB / 0.766 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.4555, allocations: 0 / 0.766 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.4556, allocations: 11.97 kB / 0.766 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/0.4739, allocations: 6.459 MB / 0.7723 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.4739, allocations: 4 kB / 0.7723 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.4772, allocations: 479.8 kB / 0.7728 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.4778, allocations: 308.7 kB / 0.7731 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005966/0.4784, allocations: 59.97 kB / 0.7731 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.693e-05/0.4784, allocations: 19.94 kB / 0.7732 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.4784, allocations: 7.984 kB / 0.7732 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.4921, allocations: 5.195 MB / 0.7782 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/0.4945, allocations: 0.6652 MB / 0.7789 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009949/0.4955, allocations: 76.05 kB / 0.779 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/0.4982, allocations: 203.8 kB / 0.7792 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.4988, allocations: 241.5 kB / 0.7794 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/0.4991, allocations: 75.97 kB / 0.7795 GB, free: 464 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.3875/0.8866, allocations: 1.83 MB / 0.7812 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.81e-07/0.8866, allocations: 1.219 kB / 0.7812 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005072/0.8917, allocations: 1.373 MB / 0.7826 GB, free: 129.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 9 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001822/0.8935, allocations: 0.5126 MB / 0.7831 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01202/0.9055, allocations: 5.333 MB / 0.7883 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.9055, allocations: 2.781 kB / 0.7883 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004076/0.9096, allocations: 1.681 MB / 0.7899 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/0.9127, allocations: 0.5099 MB / 0.7904 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.9285, allocations: 6.515 MB / 0.7968 GB, free: 124 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.9304, allocations: 1.363 MB / 0.7981 GB, free: 123.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002741/0.9332, allocations: 432.2 kB / 0.7985 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.9339, allocations: 199.8 kB / 0.7987 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.9339, allocations: 0 / 0.7987 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.06515/0.9991, allocations: 44.6 MB / 0.8423 GB, free: 86.47 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.041295862291008] Failed to read output from testmodel.py, exit status != 0: 1.0097884903661907 1.019726363 0.774464148 Calling exit ...