Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.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.001699/0.001699, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.002159/0.002159, allocations: 223.8 kB / 23.77 MB, free: 4.422 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.861/1.861, allocations: 207.7 MB / 234.6 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.7739/0.7739, allocations: 115.8 MB / 402.6 MB, free: 16.06 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.WT4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4B.injector.PInjPu|WT4B.injector.QInjPu|WT4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WT4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4B.injector.PInjPu|WT4B.injector.QInjPu|WT4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource") [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.002916/0.002916, allocations: 73.28 kB / 0.5704 GB, free: 41.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2116, allocations: 79.01 MB / 0.6476 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4BCurrentSource): time 0.01399/0.2256, allocations: 8.594 MB / 0.656 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2372, allocations: 4.795 MB / 0.6607 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.2399, allocations: 51.69 kB / 0.6607 GB, free: 13.58 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.001798/0.2417, allocations: 0.5815 MB / 0.6613 GB, free: 13 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.002735/0.2444, allocations: 0.7026 MB / 0.662 GB, free: 12.29 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.005311/0.2497, allocations: 2.03 MB / 0.6639 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00513/0.2549, allocations: 3.036 MB / 0.6669 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.2564, allocations: 0.6913 MB / 0.6676 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2585, allocations: 1.148 MB / 0.6687 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.26, allocations: 1.1 MB / 0.6698 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004664/0.2605, allocations: 332 kB / 0.6701 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2617, allocations: 0.5701 MB / 0.6707 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007817/0.2625, allocations: 0.7008 MB / 0.6713 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.2637, allocations: 1.022 MB / 0.6723 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005977/0.2697, allocations: 4.118 MB / 0.6764 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2697, allocations: 4 kB / 0.6764 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2697, allocations: 0 / 0.6764 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.339e-05/0.2698, allocations: 0 / 0.6764 GB, free: 13.46 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.0103/0.2801, allocations: 3.478 MB / 0.6798 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.2801, allocations: 8.031 kB / 0.6798 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.2841, allocations: 0.7408 MB / 0.6805 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.2874, allocations: 1.57 MB / 0.682 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/0.2883, allocations: 0.8354 MB / 0.6828 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.2886, allocations: 175.9 kB / 0.683 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/0.2935, allocations: 2.35 MB / 0.6853 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.2936, allocations: 3.938 kB / 0.6853 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.2938, allocations: 68 kB / 0.6854 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.2938, allocations: 48 kB / 0.6854 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.2984, allocations: 1.854 MB / 0.6872 GB, free: 1.934 MB / 0.5137 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.01292/0.3113, allocations: 6.275 MB / 0.6934 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005125/0.3165, allocations: 1.873 MB / 0.6952 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.3184, allocations: 0.8128 MB / 0.696 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.3186, allocations: 21.2 kB / 0.696 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002801/0.3214, allocations: 1.306 MB / 0.6973 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=149): time 3.446e-06/0.3214, allocations: 0 / 0.6973 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=149): time 0.009452/0.3309, allocations: 3.109 MB / 0.7003 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.3311, allocations: 264.6 kB / 0.7006 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.3347, allocations: 1.86 MB / 0.7024 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.335, allocations: 61.7 kB / 0.7024 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.3362, allocations: 0.9655 MB / 0.7034 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/0.3369, allocations: 0.5114 MB / 0.7039 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008059/0.3377, allocations: 415.9 kB / 0.7043 GB, free: 180 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3379, allocations: 313.1 kB / 0.7046 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.3404, allocations: 1.007 MB / 0.7056 GB, free: 14.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.3433, allocations: 1.51 MB / 0.707 GB, free: 13.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/0.36, allocations: 5.111 MB / 0.712 GB, free: 7.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.36, allocations: 4 kB / 0.712 GB, free: 7.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.007748/0.3678, allocations: 3.034 MB / 0.715 GB, free: 4.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/0.3679, allocations: 53.73 kB / 0.715 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.3679, allocations: 8 kB / 0.7151 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.3684, allocations: 320.7 kB / 0.7154 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.3707, allocations: 483.3 kB / 0.7158 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-05/0.3707, allocations: 19.94 kB / 0.7158 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.3727, allocations: 254.8 kB / 0.7161 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.3729, allocations: 79.98 kB / 0.7162 GB, free: 3.684 MB / 0.545 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003602/0.3765, allocations: 1.486 MB / 0.7176 GB, free: 2.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002833/0.3793, allocations: 1.491 MB / 0.7191 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01619/0.3955, allocations: 5.08 MB / 0.724 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-05/0.3956, allocations: 4 kB / 0.724 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=286) (initialization_lambda0): time 0.007824/0.4034, allocations: 3.015 MB / 0.727 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.4034, allocations: 45.69 kB / 0.727 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4035, allocations: 8 kB / 0.727 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.404, allocations: 321 kB / 0.7273 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.4062, allocations: 475.3 kB / 0.7278 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.211e-05/0.4063, allocations: 19.94 kB / 0.7278 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4085, allocations: 243 kB / 0.728 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.4087, allocations: 75.98 kB / 0.7281 GB, free: 7.133 MB / 0.5606 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.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: 31 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.WT4B.injector.state,WT4B.injector.state,$PRE.WT4B.line.state,WT4B.line.state,$PRE.line.state,line.state,WT4B.injector.switchOffSignal3.value,WT4B.injector.switchOffSignal2.value,WT4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WT4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WT4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WT4B.line.running.value,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WT4B.wecc_regc.offDelay.delaySignal,$PRE.WT4B.wecc_regc.offDelay.tNext,$PRE.WT4B.injector.running.value,WT4B.wecc_regc.Qinj0PuNeg.k,WT4B.wecc_regc.QInj0PuPos.k,$PRE.WT4B.wecc_regc.offDelay.u,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.injector.running.value,WT4B.wecc_regc.and2.y,WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WT4B.pll.limIntegrator.local_reset,WT4B.pll.integrator.local_reset,WT4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WT4B.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 (269): * Single equations (assignments): 267 * 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.0009642/0.4096, allocations: 425.3 kB / 0.7285 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005214/0.4102, allocations: 222.6 kB / 0.7287 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006662/0.4168, allocations: 2.419 MB / 0.7311 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.4169, allocations: 16 kB / 0.7311 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.4169, allocations: 4 kB / 0.7311 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.4169, allocations: 11.97 kB / 0.7311 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.4272, allocations: 4.287 MB / 0.7353 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.4273, allocations: 4 kB / 0.7353 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.4293, allocations: 331.9 kB / 0.7356 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/0.4298, allocations: 308.7 kB / 0.7359 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.4299, allocations: 47.97 kB / 0.736 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-05/0.43, allocations: 8 kB / 0.736 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.43, allocations: 7.938 kB / 0.736 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009507/0.4395, allocations: 3.76 MB / 0.7396 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.4411, allocations: 450.1 kB / 0.7401 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006665/0.4418, allocations: 59.92 kB / 0.7401 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.4435, allocations: 135.8 kB / 0.7403 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/0.444, allocations: 193 kB / 0.7404 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.4442, allocations: 63.97 kB / 0.7405 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003105/0.4473, allocations: 1.214 MB / 0.7417 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4473, allocations: 0 / 0.7417 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004557/0.4518, allocations: 0.9276 MB / 0.7426 GB, free: 8.102 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 (WT4B.wecc_reec.firstOrder.y,WT4B.wecc_reec.firstOrder1.y,WT4B.wecc_reec.limPIDFreeze.I.y,WT4B.wecc_reec.varLimPIDFreeze.I.y,WT4B.wecc_reec.rateLimFirstOrderFreeze1.y,WT4B.wecc_reec.slewRateLimiter.y,WT4B.wecc_reec.rateLimFirstOrderFreeze.y,WT4B.wecc_regc.rateLimFirstOrderFreeze2.y,WT4B.wecc_regc.rateLimFirstOrderFreeze1.y,WT4B.wecc_regc.firstOrder.y,WT4B.pll.integrator.y,WT4B.pll.limIntegrator.y) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WT4B.line.running.value,WT4B.line.state,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_regc.offDelay.u,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and2.y,WT4B.injector.running.value,WT4B.injector.state) * Number of discrete states: 9 (WT4B.injector.running.value,WT4B.line.running.value,line.running.value,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 140 * 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.002162/0.454, allocations: 499.2 kB / 0.7431 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.4647, allocations: 3.784 MB / 0.7468 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.4647, allocations: 0 / 0.7468 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/0.4681, allocations: 1.165 MB / 0.7479 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.471, allocations: 297.5 kB / 0.7482 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4844, allocations: 4.407 MB / 0.7525 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.4864, allocations: 0.9073 MB / 0.7534 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.4876, allocations: 155.4 kB / 0.7535 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of SimCode: time 2.404e-06/0.4876, allocations: 0 / 0.7535 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.5624/1.05, allocations: 41.4 MB / 0.794 GB, free: 128 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource -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.WT4BCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,WT4B.injector.PInjPu,WT4B.injector.QInjPu,WT4B.injector.UPu Variables in the result:WT4B.injector.PInjPu,WT4B.injector.QInjPu,WT4B.injector.UPu,time [Calling sys.exit(0), Time elapsed: 13.640026178210974]