Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.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.001993/0.001993, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002424/0.002424, allocations: 208.6 kB / 23.01 MB, free: 4.621 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.376/1.376, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.6934/0.6934, allocations: 118.2 MB / 404.3 MB, free: 14.41 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.WTG4ACurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2") [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.002355/0.002355, allocations: 72.69 kB / 0.5732 GB, free: 40.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1295, allocations: 79.62 MB / 0.651 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2): time 0.01547/0.145, allocations: 11.91 MB / 0.6626 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1563, allocations: 6.391 MB / 0.6688 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.1586, allocations: 91.38 kB / 0.6689 GB, free: 4.691 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.001938/0.1606, allocations: 0.775 MB / 0.6697 GB, free: 3.91 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.002778/0.1634, allocations: 1.017 MB / 0.6707 GB, free: 2.887 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.005887/0.1692, allocations: 3.077 MB / 0.6737 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005869/0.1751, allocations: 4.853 MB / 0.6784 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.1771, allocations: 1.144 MB / 0.6795 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.1794, allocations: 1.786 MB / 0.6813 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.1815, allocations: 1.694 MB / 0.6829 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000758/0.1822, allocations: 0.5273 MB / 0.6835 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1835, allocations: 0.8006 MB / 0.6842 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009258/0.1845, allocations: 1.071 MB / 0.6853 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.186, allocations: 1.585 MB / 0.6868 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008102/0.1941, allocations: 6.437 MB / 0.6931 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1941, allocations: 0 / 0.6931 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1941, allocations: 0 / 0.6931 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001265/0.1943, allocations: 4 kB / 0.6931 GB, free: 11.79 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01232/0.2066, allocations: 5.01 MB / 0.698 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2066, allocations: 12.03 kB / 0.698 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.2115, allocations: 0.9585 MB / 0.699 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.2167, allocations: 2.492 MB / 0.7014 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000798/0.2175, allocations: 0.9325 MB / 0.7023 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.218, allocations: 259.9 kB / 0.7026 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006898/0.2249, allocations: 3.678 MB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.244e-05/0.225, allocations: 4 kB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.2252, allocations: 104 kB / 0.7062 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.2253, allocations: 64 kB / 0.7063 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006414/0.2317, allocations: 2.762 MB / 0.709 GB, free: 10.92 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.02074/0.2524, allocations: 9.967 MB / 0.7187 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00718/0.2596, allocations: 2.79 MB / 0.7215 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.2623, allocations: 1.191 MB / 0.7226 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.2625, allocations: 41.97 kB / 0.7227 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/0.2664, allocations: 1.738 MB / 0.7244 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=216): time 5.43e-06/0.2664, allocations: 0 / 0.7244 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=216): time 0.01225/0.2787, allocations: 4.325 MB / 0.7286 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003027/0.279, allocations: 474.9 kB / 0.729 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.2839, allocations: 2.837 MB / 0.7318 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.2842, allocations: 81.7 kB / 0.7319 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/0.2863, allocations: 1.494 MB / 0.7333 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009155/0.2872, allocations: 0.7672 MB / 0.7341 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.2883, allocations: 0.6047 MB / 0.7347 GB, free: 248 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.2885, allocations: 301.1 kB / 0.735 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/0.292, allocations: 1.478 MB / 0.7364 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004232/0.2963, allocations: 2.397 MB / 0.7388 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02283/0.3191, allocations: 7.297 MB / 0.7459 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.3191, allocations: 0 / 0.7459 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01019/0.3293, allocations: 4.339 MB / 0.7501 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.3294, allocations: 60.48 kB / 0.7502 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3294, allocations: 12 kB / 0.7502 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.3299, allocations: 320.7 kB / 0.7505 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.3332, allocations: 0.7176 MB / 0.7512 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/0.3333, allocations: 27.94 kB / 0.7512 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.3359, allocations: 382.2 kB / 0.7516 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.3361, allocations: 116 kB / 0.7517 GB, free: 14.26 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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.004831/0.3409, allocations: 2.117 MB / 0.7538 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003859/0.3448, allocations: 2.342 MB / 0.7561 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02132/0.3661, allocations: 7.149 MB / 0.763 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/0.3661, allocations: 8 kB / 0.763 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=422) (initialization_lambda0): time 0.009581/0.3757, allocations: 4.23 MB / 0.7672 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/0.3758, allocations: 57.67 kB / 0.7672 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3758, allocations: 8 kB / 0.7672 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.3763, allocations: 328.9 kB / 0.7675 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.3794, allocations: 0.6942 MB / 0.7682 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.061e-05/0.3795, allocations: 31.92 kB / 0.7683 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.382, allocations: 362.7 kB / 0.7686 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.3823, allocations: 116 kB / 0.7687 GB, free: 12.29 MB / 0.6075 GB Warning: Assuming fixed start value for the following 30 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_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.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 (399): * Single equations (assignments): 397 * 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.001044/0.3833, allocations: 0.4994 MB / 0.7692 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/0.384, allocations: 333.9 kB / 0.7695 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008331/0.3923, allocations: 3.315 MB / 0.7728 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.3923, allocations: 20 kB / 0.7728 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3923, allocations: 4 kB / 0.7728 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.3924, allocations: 11.95 kB / 0.7728 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.406, allocations: 6.482 MB / 0.7791 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.406, allocations: 7.938 kB / 0.7791 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/0.4088, allocations: 483.8 kB / 0.7796 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.4093, allocations: 312.7 kB / 0.7799 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.4095, allocations: 67.91 kB / 0.78 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.4095, allocations: 12 kB / 0.78 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.4095, allocations: 7.938 kB / 0.78 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2807/0.6902, allocations: 5.204 MB / 0.7851 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.6917, allocations: 0.669 MB / 0.7857 GB, free: 123.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.6921, allocations: 70.64 kB / 0.7858 GB, free: 123.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.6939, allocations: 203.8 kB / 0.786 GB, free: 123.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/0.6944, allocations: 241.8 kB / 0.7862 GB, free: 123.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.6946, allocations: 76.94 kB / 0.7863 GB, free: 123.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002471/0.697, allocations: 1.837 MB / 0.7881 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.697, allocations: 0 / 0.7881 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002809/0.6998, allocations: 1.381 MB / 0.7894 GB, free: 122.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 23 (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_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],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * 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 (219): * Single equations (assignments): 207 * 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.001633/0.7015, allocations: 0.5204 MB / 0.7899 GB, free: 122.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0108/0.7123, allocations: 5.35 MB / 0.7951 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.7123, allocations: 3.625 kB / 0.7952 GB, free: 120.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003714/0.716, allocations: 1.696 MB / 0.7968 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.7188, allocations: 0.5033 MB / 0.7973 GB, free: 119.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.7307, allocations: 6.555 MB / 0.8037 GB, free: 116.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.7318, allocations: 1.372 MB / 0.805 GB, free: 115.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00205/0.7339, allocations: 434.9 kB / 0.8055 GB, free: 115.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/0.7346, allocations: 202.2 kB / 0.8056 GB, free: 115.8 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.7346, allocations: 0 / 0.8056 GB, free: 115.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.05405/0.7886, allocations: 44.29 MB / 0.8489 GB, free: 76.16 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2 -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.WTG4ACurrentSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.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: 7.328856458887458]