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.0009059/0.0009059, allocations: 76.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001043/0.001043, allocations: 173.2 kB / 23.23 MB, free: 1.32 MB / 18.57 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 0.9256/0.9256, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 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.4482/0.4482, allocations: 90.27 MB / 327.5 MB, free: 15 MB / 314.7 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: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 1.25 kB / 0.5008 GB, free: 16.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.214e-05, allocations: 2.281 kB / 0.5008 GB, free: 16.46 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01457/0.0146, allocations: 13.78 MB / 0.5143 GB, free: 7.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.02616, allocations: 6.776 MB / 0.5209 GB, free: 2.328 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.02938, allocations: 92.38 kB / 0.521 GB, free: 2.289 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.0315, allocations: 0.9253 MB / 0.5219 GB, free: 1.785 MB / 442.7 MB [/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.003543/0.03504, allocations: 1.532 MB / 0.5234 GB, free: 0.668 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4B.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4B.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4B.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4B.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.03976, allocations: 3.051 MB / 0.5263 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005934/0.04569, allocations: 5.449 MB / 0.5317 GB, free: 10.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.04769, allocations: 1.212 MB / 0.5329 GB, free: 9.762 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.05021, allocations: 1.861 MB / 0.5347 GB, free: 8.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.05249, allocations: 1.646 MB / 0.5363 GB, free: 7.348 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009287/0.05342, allocations: 0.566 MB / 0.5368 GB, free: 7.156 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.05486, allocations: 0.894 MB / 0.5377 GB, free: 6.262 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007528/0.05561, allocations: 1.203 MB / 0.5389 GB, free: 5.055 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.0569, allocations: 1.457 MB / 0.5403 GB, free: 3.594 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.06245, allocations: 7.162 MB / 0.5473 GB, free: 12.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.06246, allocations: 0 / 0.5473 GB, free: 12.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06246, allocations: 7.938 kB / 0.5473 GB, free: 12.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.06257, allocations: 0 / 0.5473 GB, free: 12.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.009156/0.07173, allocations: 5.859 MB / 0.553 GB, free: 6.445 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.07177, allocations: 8.031 kB / 0.553 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003803/0.07215, allocations: 396.4 kB / 0.5534 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.07487, allocations: 1.087 MB / 0.5545 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/0.07819, allocations: 2.694 MB / 0.5571 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005518/0.07874, allocations: 1.108 MB / 0.5582 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.07907, allocations: 296.3 kB / 0.5585 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.08371, allocations: 3.944 MB / 0.5623 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.08375, allocations: 7.938 kB / 0.5623 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.08396, allocations: 124 kB / 0.5624 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.084, allocations: 68 kB / 0.5625 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004258/0.08826, allocations: 3.05 MB / 0.5655 GB, free: 9.141 MB / 490.7 MB 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.01197/0.1002, allocations: 10.65 MB / 0.5759 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.1043, allocations: 2.7 MB / 0.5785 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.1061, allocations: 1.265 MB / 0.5798 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.1063, allocations: 41.92 kB / 0.5798 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002348/0.1087, allocations: 1.875 MB / 0.5816 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 3.797e-06/0.1087, allocations: 0 / 0.5816 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.007774/0.1164, allocations: 4.711 MB / 0.5862 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.1166, allocations: 478.9 kB / 0.5867 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.1207, allocations: 3.565 MB / 0.5902 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.1209, allocations: 85.7 kB / 0.5903 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.1221, allocations: 1.63 MB / 0.5918 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007244/0.1228, allocations: 0.8563 MB / 0.5927 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008603/0.1236, allocations: 0.7121 MB / 0.5934 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.1237, allocations: 305.1 kB / 0.5937 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.126, allocations: 1.673 MB / 0.5953 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.1287, allocations: 2.608 MB / 0.5978 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.1433, allocations: 8.463 MB / 0.6061 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.1433, allocations: 4 kB / 0.6061 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006872/0.1502, allocations: 4.908 MB / 0.6109 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.1502, allocations: 61.67 kB / 0.611 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.1503, allocations: 12.75 kB / 0.611 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.1508, allocations: 376.6 kB / 0.6113 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.1527, allocations: 0.8152 MB / 0.6121 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.1558, allocations: 2.976 MB / 0.615 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.1577, allocations: 473.4 kB / 0.6155 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.1579, allocations: 140 kB / 0.6156 GB, free: 4.867 MB / 0.5261 GB Warning: Assuming fixed start value for the following 31 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu 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.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.PConv0Pu 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.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:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.003376/0.1613, allocations: 2.365 MB / 0.6179 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002512/0.1638, allocations: 2.557 MB / 0.6204 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01443/0.1782, allocations: 8.311 MB / 0.6285 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.275e-05/0.1782, allocations: 4 kB / 0.6285 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.007666/0.1859, allocations: 4.799 MB / 0.6332 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.186, allocations: 72.09 kB / 0.6333 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.186, allocations: 12 kB / 0.6333 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.1865, allocations: 384.6 kB / 0.6337 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.1884, allocations: 0.7879 MB / 0.6345 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.1917, allocations: 2.982 MB / 0.6374 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.1938, allocations: 410.4 kB / 0.6378 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.194, allocations: 128 kB / 0.6379 GB, free: 13.49 MB / 0.5573 GB Warning: Assuming fixed start value for the following 31 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu 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.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.PConv0Pu 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.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:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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: 41 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$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,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuPos.k,WTG4B.wecc_regc.and1.u[1],WTG4B.wecc_regc.QConv0PuPos.y,WTG4B.wecc_regc.QConv0PuNeg.k,WTG4B.wecc_regc.and2.u[2],WTG4B.wecc_regc.QConv0PuNeg.y,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,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 (465): * Single equations (assignments): 463 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008596/0.1949, allocations: 0.5378 MB / 0.6384 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/0.1954, allocations: 389.5 kB / 0.6388 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/0.2011, allocations: 3.567 MB / 0.6423 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.2012, allocations: 24 kB / 0.6423 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2012, allocations: 8 kB / 0.6423 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.2012, allocations: 15.89 kB / 0.6423 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009372/0.2106, allocations: 7.22 MB / 0.6494 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.2106, allocations: 4.656 kB / 0.6494 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.2121, allocations: 0.5071 MB / 0.6499 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.2126, allocations: 368.6 kB / 0.6502 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.2127, allocations: 71.95 kB / 0.6503 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.2157, allocations: 2.975 MB / 0.6532 GB, free: 13.58 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2157, allocations: 8.031 kB / 0.6532 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007401/0.2231, allocations: 5.625 MB / 0.6587 GB, free: 7.859 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.2245, allocations: 0.7858 MB / 0.6594 GB, free: 7.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.2248, allocations: 71.98 kB / 0.6595 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.226, allocations: 231.7 kB / 0.6597 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/0.2264, allocations: 257.4 kB / 0.66 GB, free: 6.523 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.2265, allocations: 87.95 kB / 0.6601 GB, free: 6.438 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00268/0.2292, allocations: 2.336 MB / 0.6623 GB, free: 4.121 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.2292, allocations: 0 / 0.6623 GB, free: 4.121 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00323/0.2324, allocations: 1.606 MB / 0.6639 GB, free: 2.512 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.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: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,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,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 10 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,line.running,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 (240): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008693/0.2411, allocations: 6.603 MB / 0.6704 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009629/0.2507, allocations: 6.381 MB / 0.6766 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.2507, allocations: 0 / 0.6766 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.2539, allocations: 2.089 MB / 0.6786 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.2564, allocations: 0.5516 MB / 0.6792 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2948/0.5512, allocations: 33.19 MB / 0.7116 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.553, allocations: 1.529 MB / 0.7131 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002317/0.5553, allocations: 0.5057 MB / 0.7136 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/0.557, allocations: 1.62 MB / 0.7152 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.175e-06/0.557, allocations: 0 / 0.7152 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09984/0.6569, allocations: 86.15 MB / 0.7993 GB, free: 75.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.97, allocations: 3.938 kB / 0.7993 GB, free: 75.16 MB / 0.5886 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=0.0001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.680788123980165]