Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.0007879/0.0007879, allocations: 92.36 kB / 19.71 MB, free: 436 kB / 13.93 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.0008744/0.0008744, allocations: 217.1 kB / 23.02 MB, free: 2.961 MB / 13.93 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.041/1.041, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4422/0.4422, allocations: 122.7 MB / 408.8 MB, free: 15.38 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG3CurrentSource1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG3CurrentSource1",fmuType="me",version="2.0",platforms={"static"}) [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.00108/0.00108, allocations: 75.02 kB / 0.5804 GB, free: 7.637 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3248, allocations: 80.91 MB / 0.6594 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01215/0.337, allocations: 16.14 MB / 0.6752 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.3485, allocations: 7.804 MB / 0.6828 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.3523, allocations: 118.2 kB / 0.6829 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.3552, allocations: 1.087 MB / 0.684 GB, free: 0.9258 MB / 0.4948 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.005438/0.3606, allocations: 1.647 MB / 0.6856 GB, free: 15.55 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006641/0.3673, allocations: 3.746 MB / 0.6893 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008576/0.3758, allocations: 6.64 MB / 0.6957 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.3788, allocations: 1.508 MB / 0.6972 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.382, allocations: 2.455 MB / 0.6996 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.3848, allocations: 2.37 MB / 0.7019 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/0.3861, allocations: 0.7031 MB / 0.7026 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.3878, allocations: 1.027 MB / 0.7036 GB, free: 304 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.3889, allocations: 1.464 MB / 0.7051 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.3916, allocations: 2.18 MB / 0.7072 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.008308/0.3999, allocations: 8.64 MB / 0.7156 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3999, allocations: 0 / 0.7156 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3999, allocations: 3.938 kB / 0.7156 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002574/0.4002, allocations: 0 / 0.7156 GB, free: 3.961 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01316/0.4133, allocations: 6.942 MB / 0.7224 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4134, allocations: 8.031 kB / 0.7224 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005395/0.4139, allocations: 493.1 kB / 0.7229 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.4173, allocations: 1.223 MB / 0.7241 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.4223, allocations: 3.369 MB / 0.7274 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00062/0.423, allocations: 1.179 MB / 0.7285 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/0.4234, allocations: 367.9 kB / 0.7289 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.4297, allocations: 4.938 MB / 0.7337 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.4298, allocations: 3.938 kB / 0.7337 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.43, allocations: 156 kB / 0.7338 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.4301, allocations: 88 kB / 0.7339 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005407/0.4355, allocations: 3.739 MB / 0.7376 GB, free: 12.76 MB / 0.5573 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.01596/0.4514, allocations: 13.53 MB / 0.7508 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.4563, allocations: 3.449 MB / 0.7542 GB, free: 11.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.4584, allocations: 1.558 MB / 0.7557 GB, free: 9.938 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.4586, allocations: 49.97 kB / 0.7557 GB, free: 9.891 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002672/0.4612, allocations: 2.201 MB / 0.7579 GB, free: 7.637 MB / 0.573 GB Notification: Performance of pre-optimization done (n=293): time 4.619e-06/0.4613, allocations: 4 kB / 0.7579 GB, free: 7.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=293): time 0.009613/0.4709, allocations: 5.597 MB / 0.7634 GB, free: 1.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/0.4711, allocations: 0.5761 MB / 0.7639 GB, free: 1.273 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/0.4766, allocations: 4.371 MB / 0.7682 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0005967/0.4772, allocations: 93.7 kB / 0.7683 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.4787, allocations: 2.052 MB / 0.7703 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.48, allocations: 1.058 MB / 0.7713 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.4812, allocations: 0.8552 MB / 0.7721 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.4813, allocations: 305.1 kB / 0.7724 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.4842, allocations: 2.017 MB / 0.7744 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.4875, allocations: 3.201 MB / 0.7775 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/0.5053, allocations: 10.08 MB / 0.7874 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.5054, allocations: 0 / 0.7874 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of matching and sorting (n=604) (initialization): time 0.008941/0.5143, allocations: 5.853 MB / 0.7931 GB, free: 2.555 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.5144, allocations: 69.66 kB / 0.7932 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5144, allocations: 12 kB / 0.7932 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.5149, allocations: 385.4 kB / 0.7935 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/0.5185, allocations: 1.447 MB / 0.7949 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.5217, allocations: 2.983 MB / 0.7979 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.5248, allocations: 0.575 MB / 0.7984 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000551/0.5253, allocations: 164.2 kB / 0.7986 GB, free: 12.8 MB / 0.6198 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005047/0.5304, allocations: 2.857 MB / 0.8014 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003313/0.5337, allocations: 3.142 MB / 0.8044 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01719/0.5509, allocations: 9.939 MB / 0.8141 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/0.5509, allocations: 4 kB / 0.8141 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=604) (initialization_lambda0): time 0.008456/0.5593, allocations: 5.737 MB / 0.8197 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.5594, allocations: 73.64 kB / 0.8198 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5594, allocations: 15.98 kB / 0.8198 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.5599, allocations: 384.8 kB / 0.8202 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.5632, allocations: 1.432 MB / 0.8216 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.5662, allocations: 3.005 MB / 0.8245 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.5691, allocations: 497.8 kB / 0.825 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.5694, allocations: 164 kB / 0.8252 GB, free: 0.6758 MB / 0.6355 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 79 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuPos.k,WTG3.wecc_regc.and1.u[1],WTG3.wecc_regc.QConv0PuPos.y,WTG3.wecc_regc.QConv0PuNeg.k,WTG3.wecc_regc.and2.u[2],WTG3.wecc_regc.QConv0PuNeg.y,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (565): * Single equations (assignments): 563 * 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.001072/0.5705, allocations: 0.5925 MB / 0.8257 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008646/0.5713, allocations: 481 kB / 0.8262 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006465/0.5778, allocations: 4.224 MB / 0.8303 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5778, allocations: 28 kB / 0.8304 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.5778, allocations: 4 kB / 0.8304 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.5778, allocations: 11.95 kB / 0.8304 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5896, allocations: 8.623 MB / 0.8388 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5896, allocations: 4.688 kB / 0.8388 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/0.5929, allocations: 1.085 MB / 0.8399 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.5934, allocations: 371.7 kB / 0.8402 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/0.5937, allocations: 79.97 kB / 0.8403 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003149/0.5968, allocations: 2.982 MB / 0.8432 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5968, allocations: 4 kB / 0.8432 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009967/0.6068, allocations: 6.662 MB / 0.8497 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/0.6089, allocations: 0.9451 MB / 0.8506 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007342/0.6096, allocations: 83.98 kB / 0.8507 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.6113, allocations: 271.7 kB / 0.851 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004938/0.6118, allocations: 309.4 kB / 0.8513 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.6119, allocations: 91.97 kB / 0.8513 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003749/0.6157, allocations: 2.865 MB / 0.8541 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6157, allocations: 0 / 0.8541 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005415/0.6211, allocations: 1.926 MB / 0.856 GB, free: 0.5234 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 276 * 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.2794/0.9005, allocations: 7.661 MB / 0.8635 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.9122, allocations: 7.542 MB / 0.8709 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.9122, allocations: 6.781 kB / 0.8709 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003868/0.9161, allocations: 2.559 MB / 0.8734 GB, free: 168.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.9191, allocations: 0.6669 MB / 0.874 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05525/0.9743, allocations: 40.52 MB / 0.9136 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.9756, allocations: 1.886 MB / 0.9154 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002206/0.9778, allocations: 0.6727 MB / 0.9161 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.9795, allocations: 2.026 MB / 0.9181 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/0.9795, allocations: 0 / 0.9181 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/1.151, allocations: 100.8 MB / 1.017 GB, free: 32.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.45, allocations: 8.062 kB / 1.017 GB, free: 32.76 MB / 0.6667 GB " [Timeout remaining time 648] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_Wind_WECC_WTG3CurrentSource1_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_Wind_WECC_WTG3CurrentSource1.fmu) > Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_Wind_WECC_WTG3CurrentSource1.fmu) > Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.460349850356579]