Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 77.94 kB / 20.53 MB, free: 1.266 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.001533/0.001533, allocations: 170.2 kB / 23.79 MB, free: 4.445 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.304/1.304, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.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.5917/0.5917, allocations: 85.32 MB / 323.1 MB, free: 6.617 MB / 302.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.WTG4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 72.81 kB / 0.4924 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 78.79 MB / 0.5693 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01521/0.1371, allocations: 11.26 MB / 0.5803 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.149, allocations: 6.131 MB / 0.5863 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.1507, allocations: 83.38 kB / 0.5864 GB, free: 9.02 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.001734/0.1524, allocations: 0.7442 MB / 0.5871 GB, free: 8.27 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.002478/0.1549, allocations: 0.9702 MB / 0.5881 GB, free: 7.293 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.005737/0.1606, allocations: 2.963 MB / 0.591 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.1662, allocations: 4.581 MB / 0.5954 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.1681, allocations: 1.052 MB / 0.5965 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1702, allocations: 1.693 MB / 0.5981 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.1722, allocations: 1.589 MB / 0.5997 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/0.1728, allocations: 500 kB / 0.6001 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1741, allocations: 0.7693 MB / 0.6009 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009488/0.175, allocations: 1.008 MB / 0.6019 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.1767, allocations: 1.484 MB / 0.6033 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.1835, allocations: 6.04 MB / 0.6092 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1835, allocations: 7.938 kB / 0.6092 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1835, allocations: 0 / 0.6092 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.937e-05/0.1835, allocations: 0 / 0.6092 GB, free: 1.504 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01223/0.1958, allocations: 4.719 MB / 0.6138 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1958, allocations: 8.922 kB / 0.6139 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/0.2005, allocations: 0.9235 MB / 0.6148 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.205, allocations: 2.35 MB / 0.617 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008176/0.2058, allocations: 0.9164 MB / 0.6179 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004228/0.2062, allocations: 236 kB / 0.6182 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006496/0.2127, allocations: 3.451 MB / 0.6215 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.2128, allocations: 0 / 0.6215 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.213, allocations: 103.9 kB / 0.6216 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.2131, allocations: 60 kB / 0.6217 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/0.2194, allocations: 2.613 MB / 0.6242 GB, free: 1.535 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.01564/0.235, allocations: 8.996 MB / 0.633 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006898/0.2419, allocations: 2.54 MB / 0.6355 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.2447, allocations: 1.144 MB / 0.6366 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.2449, allocations: 37.98 kB / 0.6367 GB, free: 4.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003614/0.2485, allocations: 1.684 MB / 0.6383 GB, free: 2.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=203): time 4.348e-06/0.2485, allocations: 0 / 0.6383 GB, free: 2.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=203): time 0.01187/0.2604, allocations: 4.145 MB / 0.6424 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002924/0.2607, allocations: 474.9 kB / 0.6428 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/0.2653, allocations: 2.686 MB / 0.6454 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.2655, allocations: 81.7 kB / 0.6455 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.2669, allocations: 1.376 MB / 0.6469 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008249/0.2678, allocations: 0.7207 MB / 0.6476 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.2688, allocations: 0.5689 MB / 0.6481 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.269, allocations: 309.1 kB / 0.6484 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/0.2723, allocations: 1.41 MB / 0.6498 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/0.2764, allocations: 2.296 MB / 0.652 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/0.2993, allocations: 6.983 MB / 0.6588 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.2993, allocations: 0 / 0.6588 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01062/0.3099, allocations: 4.121 MB / 0.6629 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.31, allocations: 62.36 kB / 0.6629 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.31, allocations: 8 kB / 0.6629 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.3106, allocations: 328.7 kB / 0.6633 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.3139, allocations: 0.6709 MB / 0.6639 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.213e-05/0.3139, allocations: 31.92 kB / 0.6639 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.3164, allocations: 366.3 kB / 0.6643 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.3167, allocations: 104 kB / 0.6644 GB, free: 7.523 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004565/0.3213, allocations: 2.025 MB / 0.6664 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003981/0.3253, allocations: 2.229 MB / 0.6685 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02205/0.3473, allocations: 6.847 MB / 0.6752 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.33e-05/0.3473, allocations: 4 kB / 0.6752 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.009898/0.3572, allocations: 4.02 MB / 0.6792 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.3573, allocations: 57.44 kB / 0.6792 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.3573, allocations: 12 kB / 0.6792 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.3579, allocations: 320.8 kB / 0.6795 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.3612, allocations: 0.6514 MB / 0.6802 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.538e-05/0.3612, allocations: 31.86 kB / 0.6802 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/0.364, allocations: 342.8 kB / 0.6805 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.3644, allocations: 112 kB / 0.6806 GB, free: 6.379 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running.value,WTG4B.wecc_regc.Qinj0PuNeg.k,WTG4B.wecc_regc.QInj0PuPos.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (372): * Single equations (assignments): 370 * 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.001067/0.3654, allocations: 493.2 kB / 0.6811 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/0.3663, allocations: 318 kB / 0.6814 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008956/0.3753, allocations: 3.176 MB / 0.6845 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.3753, allocations: 20 kB / 0.6845 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.3753, allocations: 4 kB / 0.6845 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/0.3753, allocations: 15.94 kB / 0.6845 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2693/0.6447, allocations: 6.228 MB / 0.6906 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.6447, allocations: 4.469 kB / 0.6906 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/0.6474, allocations: 453.5 kB / 0.6911 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.6478, allocations: 314.7 kB / 0.6914 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/0.6481, allocations: 62.31 kB / 0.6914 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.6481, allocations: 15.16 kB / 0.6914 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6481, allocations: 5.594 kB / 0.6914 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/0.6578, allocations: 5.016 MB / 0.6963 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/0.6593, allocations: 0.6328 MB / 0.697 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/0.6599, allocations: 65.91 kB / 0.697 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.6619, allocations: 209.2 kB / 0.6972 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/0.6624, allocations: 231.3 kB / 0.6974 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.6625, allocations: 71.8 kB / 0.6975 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002538/0.6651, allocations: 1.747 MB / 0.6992 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6651, allocations: 0 / 0.6992 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003538/0.6686, allocations: 1.302 MB / 0.7005 GB, free: 109.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 9 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 194 * 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.00175/0.6704, allocations: 0.5084 MB / 0.701 GB, free: 109.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.6824, allocations: 5.112 MB / 0.706 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.6824, allocations: 7.625 kB / 0.706 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.686, allocations: 1.636 MB / 0.7076 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.6886, allocations: 475 kB / 0.708 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.6988, allocations: 6.129 MB / 0.714 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.6998, allocations: 1.271 MB / 0.7153 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001751/0.7016, allocations: 416 kB / 0.7157 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/0.7022, allocations: 187.5 kB / 0.7158 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.7022, allocations: 3.5 kB / 0.7158 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.05034/0.7525, allocations: 39.69 MB / 0.7546 GB, free: 66.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.171290088095702]