Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.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.001527/0.001527, allocations: 92.36 kB / 20.47 MB, free: 1.363 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.001697/0.001697, allocations: 226.1 kB / 23.78 MB, free: 4.508 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.329/1.329, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] 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.6156/0.6156, allocations: 114.3 MB / 401.2 MB, free: 17.11 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.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") [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.002156/0.002156, allocations: 67.61 kB / 0.5683 GB, free: 42.26 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1056, allocations: 78.66 MB / 0.6451 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01824/0.1238, allocations: 14.27 MB / 0.6591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.1372, allocations: 7.67 MB / 0.6666 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.1397, allocations: 119.1 kB / 0.6667 GB, free: 7.156 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: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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.002268/0.142, allocations: 0.9646 MB / 0.6676 GB, free: 6.188 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.003464/0.1455, allocations: 1.226 MB / 0.6688 GB, free: 4.953 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.007434/0.1529, allocations: 3.956 MB / 0.6727 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008126/0.161, allocations: 6.286 MB / 0.6788 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.164, allocations: 1.601 MB / 0.6804 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.1672, allocations: 2.312 MB / 0.6826 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.1701, allocations: 2.379 MB / 0.685 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.1714, allocations: 0.6875 MB / 0.6856 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.173, allocations: 0.988 MB / 0.6866 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.1743, allocations: 1.394 MB / 0.688 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.1768, allocations: 2.032 MB / 0.6899 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.1863, allocations: 8.352 MB / 0.6981 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1863, allocations: 0 / 0.6981 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1863, allocations: 4 kB / 0.6981 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001532/0.1865, allocations: 0 / 0.6981 GB, free: 6.844 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.01531/0.2018, allocations: 6.169 MB / 0.7041 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2018, allocations: 12.92 kB / 0.7041 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005048/0.2069, allocations: 1.087 MB / 0.7052 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006352/0.2132, allocations: 3.256 MB / 0.7084 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/0.2143, allocations: 1.267 MB / 0.7096 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007349/0.2151, allocations: 335.9 kB / 0.7099 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009673/0.2247, allocations: 4.908 MB / 0.7147 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/0.2248, allocations: 15.92 kB / 0.7148 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.2252, allocations: 148 kB / 0.7149 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.824e-05/0.2253, allocations: 80 kB / 0.715 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008788/0.234, allocations: 3.611 MB / 0.7185 GB, free: 1.199 MB / 0.545 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.02273/0.2568, allocations: 13.2 MB / 0.7314 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008166/0.2649, allocations: 3.271 MB / 0.7346 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/0.2688, allocations: 1.554 MB / 0.7361 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.2691, allocations: 45.98 kB / 0.7361 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004742/0.2738, allocations: 2.133 MB / 0.7382 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=269): time 5.801e-06/0.2738, allocations: 0 / 0.7382 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=269): time 0.01438/0.2882, allocations: 5.344 MB / 0.7434 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003913/0.2886, allocations: 0.6724 MB / 0.7441 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.2941, allocations: 3.519 MB / 0.7475 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004413/0.2946, allocations: 89.7 kB / 0.7476 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.2965, allocations: 1.943 MB / 0.7495 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.2977, allocations: 0.9532 MB / 0.7504 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.299, allocations: 0.7238 MB / 0.7512 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2991, allocations: 305.1 kB / 0.7514 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/0.3033, allocations: 1.813 MB / 0.7532 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005251/0.3085, allocations: 3.136 MB / 0.7563 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02671/0.3353, allocations: 8.767 MB / 0.7648 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/0.3353, allocations: 4 kB / 0.7648 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01345/0.3487, allocations: 5.202 MB / 0.7699 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.3488, allocations: 57.67 kB / 0.77 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.3488, allocations: 12 kB / 0.77 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.3494, allocations: 332.7 kB / 0.7703 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/0.3549, allocations: 1.127 MB / 0.7714 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.107e-05/0.3549, allocations: 39.86 kB / 0.7714 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.3584, allocations: 0.4939 MB / 0.7719 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/0.359, allocations: 136 kB / 0.7721 GB, free: 9.113 MB / 0.6075 GB Warning: Assuming fixed start value for the following 32 variables: WTG3.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector 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 WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running.value:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) type: Boolean WTG3.line.running.value:DISCRETE(flow=false start = WTG3.line.Running0 fixed = true ) type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006637/0.3656, allocations: 2.601 MB / 0.7746 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005342/0.3709, allocations: 3.07 MB / 0.7776 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2752/0.6461, allocations: 8.616 MB / 0.786 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.672e-05/0.6462, allocations: 10.7 kB / 0.786 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01023/0.6564, allocations: 5.101 MB / 0.791 GB, free: 122.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.6565, allocations: 57.45 kB / 0.7911 GB, free: 122.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.6565, allocations: 14.75 kB / 0.7911 GB, free: 122.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.6569, allocations: 333 kB / 0.7914 GB, free: 122.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/0.6619, allocations: 1.106 MB / 0.7925 GB, free: 122.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.82e-05/0.662, allocations: 36.94 kB / 0.7925 GB, free: 122.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.6655, allocations: 489 kB / 0.793 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.6658, allocations: 135.4 kB / 0.7931 GB, free: 122.6 MB / 0.6075 GB Warning: Assuming fixed start value for the following 32 variables: WTG3.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector 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 WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running.value:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) type: Boolean WTG3.line.running.value:DISCRETE(flow=false start = WTG3.line.Running0 fixed = true ) type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 76 ($PRE.WTG3.line.state,WTG3.line.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3.value,WTG3.injector.switchOffSignal2.value,WTG3.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running.value,$PRE.WTG3.line.running.value,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_regc.Qinj0PuNeg.k,WTG3.wecc_regc.QInj0PuPos.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.line.running.value,WTG3.injector.running.value,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.local_reset,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 474 * 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.0009195/0.6667, allocations: 0.5614 MB / 0.7936 GB, free: 122.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006753/0.6674, allocations: 415.5 kB / 0.794 GB, free: 122.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009988/0.6774, allocations: 4.058 MB / 0.798 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.6774, allocations: 11.58 kB / 0.798 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6774, allocations: 1.375 kB / 0.798 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.6795, allocations: 0.8351 MB / 0.7988 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005669/0.6801, allocations: 84.66 kB / 0.7989 GB, free: 120.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.6822, allocations: 289.6 kB / 0.7992 GB, free: 120.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/0.6827, allocations: 276.5 kB / 0.7995 GB, free: 120 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009563/0.6922, allocations: 4.203 MB / 0.8036 GB, free: 118.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01053/0.7028, allocations: 6.125 MB / 0.8095 GB, free: 115.7 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003148/0.7059, allocations: 1.747 MB / 0.8112 GB, free: 115 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002846/0.7088, allocations: 2.285 MB / 0.8135 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of Backend: time 3.81e-07/0.7088, allocations: 0 / 0.8135 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01242/0.7212, allocations: 5.676 MB / 0.819 GB, free: 108.1 MB / 0.6075 GB Notification: Performance of SimCode: time 0.009872/0.7311, allocations: 7.562 MB / 0.8264 GB, free: 100.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.09681/0.8279, allocations: 87.34 MB / 0.9117 GB, free: 13.47 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.046834100969136]