Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.0009042/0.0009042, allocations: 76.5 kB / 19.95 MB, free: 4.617 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.001005/0.001005, allocations: 173.2 kB / 23.23 MB, free: 1.332 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.9335/0.9335, allocations: 158.6 MB / 185 MB, free: 3.047 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.4348/0.4348, allocations: 90.28 MB / 327.5 MB, free: 15.02 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.WTG4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5008 GB, free: 16.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.575e-05, allocations: 3.469 kB / 0.5008 GB, free: 16.46 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01358/0.0136, allocations: 14.32 MB / 0.5148 GB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.02613, allocations: 7 MB / 0.5216 GB, free: 1.793 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.03026, allocations: 101.5 kB / 0.5217 GB, free: 1.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.03277, allocations: 0.9641 MB / 0.5227 GB, free: 1.215 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.004264/0.03704, allocations: 1.579 MB / 0.5242 GB, free: 15.99 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4A.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 WTG4A.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 WTG4A.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 WTG4A.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.005541/0.04258, allocations: 3.165 MB / 0.5273 GB, free: 13.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.04924, allocations: 5.721 MB / 0.5329 GB, free: 9.723 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.05131, allocations: 1.286 MB / 0.5342 GB, free: 8.754 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.05417, allocations: 1.945 MB / 0.536 GB, free: 7.453 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.05638, allocations: 1.716 MB / 0.5377 GB, free: 6.227 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.05746, allocations: 0.5968 MB / 0.5383 GB, free: 5.652 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.05878, allocations: 0.933 MB / 0.5392 GB, free: 4.719 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007164/0.0595, allocations: 1.269 MB / 0.5405 GB, free: 3.445 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.0611, allocations: 1.519 MB / 0.5419 GB, free: 1.922 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008166/0.06926, allocations: 7.563 MB / 0.5493 GB, free: 10.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.06928, allocations: 0 / 0.5493 GB, free: 10.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.32e-06/0.06928, allocations: 0 / 0.5493 GB, free: 10.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000408/0.06969, allocations: 0 / 0.5493 GB, free: 10.34 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: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.01638/0.08607, allocations: 6.085 MB / 0.5553 GB, free: 4.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.08613, allocations: 16.02 kB / 0.5553 GB, free: 4.145 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008634/0.08699, allocations: 421.7 kB / 0.5557 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/0.09038, allocations: 1.114 MB / 0.5568 GB, free: 2.605 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.09561, allocations: 2.832 MB / 0.5595 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006751/0.09628, allocations: 1.132 MB / 0.5606 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/0.09726, allocations: 312.3 kB / 0.5609 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007012/0.1043, allocations: 4.153 MB / 0.565 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/0.1043, allocations: 7.938 kB / 0.565 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.1046, allocations: 128 kB / 0.5651 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.1046, allocations: 76 kB / 0.5652 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.1097, allocations: 3.164 MB / 0.5683 GB, free: 6.273 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.02012/0.1299, allocations: 11.62 MB / 0.5796 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/0.1355, allocations: 3.005 MB / 0.5826 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.1377, allocations: 1.292 MB / 0.5838 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.1379, allocations: 45.92 kB / 0.5839 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002741/0.1406, allocations: 1.919 MB / 0.5858 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=253): time 6.272e-06/0.1406, allocations: 0 / 0.5858 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=253): time 0.008899/0.1495, allocations: 4.898 MB / 0.5905 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.1497, allocations: 482.9 kB / 0.591 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/0.1557, allocations: 3.739 MB / 0.5946 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000789/0.1565, allocations: 97.69 kB / 0.5947 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.1579, allocations: 1.74 MB / 0.5964 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.1591, allocations: 0.8912 MB / 0.5973 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.1602, allocations: 0.7559 MB / 0.5981 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.1603, allocations: 301.1 kB / 0.5983 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.1629, allocations: 1.741 MB / 0.6 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/0.1662, allocations: 2.722 MB / 0.6027 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/0.1845, allocations: 8.789 MB / 0.6113 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.1845, allocations: 0 / 0.6113 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00901/0.1935, allocations: 5.125 MB / 0.6163 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/0.1936, allocations: 69.66 kB / 0.6163 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.1936, allocations: 12 kB / 0.6164 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.1942, allocations: 388.6 kB / 0.6167 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.197, allocations: 0.8503 MB / 0.6176 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.2005, allocations: 3 MB / 0.6205 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.2037, allocations: 497.2 kB / 0.621 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006629/0.2043, allocations: 140 kB / 0.6211 GB, free: 15.15 MB / 0.5417 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005445/0.2098, allocations: 2.464 MB / 0.6235 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003637/0.2134, allocations: 2.663 MB / 0.6261 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01848/0.2319, allocations: 8.652 MB / 0.6346 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.323e-05/0.2319, allocations: 4 kB / 0.6346 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.009298/0.2412, allocations: 5.02 MB / 0.6395 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2413, allocations: 72.16 kB / 0.6395 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.2413, allocations: 19.94 kB / 0.6395 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/0.2419, allocations: 380.6 kB / 0.6399 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.2447, allocations: 0.8269 MB / 0.6407 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.2481, allocations: 2.994 MB / 0.6436 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.2512, allocations: 429.9 kB / 0.6441 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/0.2517, allocations: 144 kB / 0.6442 GB, free: 6.879 MB / 0.5573 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuPos.k,WTG4A.wecc_regc.and1.u[1],WTG4A.wecc_regc.QConv0PuPos.y,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.and2.u[2],WTG4A.wecc_regc.QConv0PuNeg.y,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 498 * 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.001046/0.2528, allocations: 0.5427 MB / 0.6447 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/0.2539, allocations: 413.3 kB / 0.6451 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006281/0.2601, allocations: 3.651 MB / 0.6487 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.2602, allocations: 24 kB / 0.6487 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.2602, allocations: 4 kB / 0.6487 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.2602, allocations: 15.94 kB / 0.6487 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.2743, allocations: 7.443 MB / 0.656 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.2743, allocations: 7.938 kB / 0.656 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.2761, allocations: 0.5077 MB / 0.6565 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.2767, allocations: 376.6 kB / 0.6569 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.2769, allocations: 63.97 kB / 0.6569 GB, free: 9.688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.2803, allocations: 2.979 MB / 0.6598 GB, free: 6.594 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.2803, allocations: 8 kB / 0.6598 GB, free: 6.586 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009718/0.2901, allocations: 5.756 MB / 0.6655 GB, free: 0.6758 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.2921, allocations: 0.8207 MB / 0.6663 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006443/0.2927, allocations: 79.92 kB / 0.6663 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.2943, allocations: 215.8 kB / 0.6665 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/0.2948, allocations: 265.4 kB / 0.6668 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.2949, allocations: 95.94 kB / 0.6669 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004219/0.2991, allocations: 2.443 MB / 0.6693 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2991, allocations: 4 kB / 0.6693 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005593/0.3047, allocations: 1.692 MB / 0.6709 GB, free: 11.05 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 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,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 236 * 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.009825/0.3146, allocations: 6.751 MB / 0.6775 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2333/0.5478, allocations: 6.603 MB / 0.684 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.5479, allocations: 6.438 kB / 0.684 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/0.5523, allocations: 2.116 MB / 0.686 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.5558, allocations: 0.5714 MB / 0.6866 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08873/0.6445, allocations: 34.78 MB / 0.7206 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.6462, allocations: 1.61 MB / 0.7221 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00246/0.6487, allocations: 0.5301 MB / 0.7226 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/0.6508, allocations: 1.724 MB / 0.7243 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.605e-06/0.6508, allocations: 0 / 0.7243 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.764, allocations: 87.89 MB / 0.8102 GB, free: 63.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.31, allocations: 19.58 kB / 0.8102 GB, free: 63.83 MB / 0.5886 GB " [Timeout remaining time 647] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=0.0001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 642] Reference file matches [Calling sys.exit(0), Time elapsed: 44.50019881501794]