Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.0007748/0.0007748, allocations: 96.36 kB / 19.72 MB, free: 428 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.0007796/0.0007796, allocations: 220.1 kB / 23.02 MB, free: 2.949 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.083/1.083, allocations: 207.7 MB / 233.9 MB, free: 11.45 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.457/0.457, 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) Running command: "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,fileNamePrefix="Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI2Xcca",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,fileNamePrefix="Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI2Xcca",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.001869/0.001869, allocations: 83.89 kB / 0.5751 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 80.9 MB / 0.6541 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01239/0.3856, allocations: 16.37 MB / 0.6701 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.3977, allocations: 7.836 MB / 0.6778 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.4017, allocations: 113.5 kB / 0.6779 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.4042, allocations: 1.096 MB / 0.679 GB, free: 14.96 MB / 0.5105 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.004846/0.409, allocations: 1.652 MB / 0.6806 GB, free: 13.59 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.005671/0.4147, allocations: 3.747 MB / 0.6842 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008847/0.4235, allocations: 6.684 MB / 0.6908 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.4257, allocations: 1.506 MB / 0.6922 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.429, allocations: 2.478 MB / 0.6946 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.4312, allocations: 2.395 MB / 0.697 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008485/0.432, allocations: 0.7106 MB / 0.6977 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.4334, allocations: 1.032 MB / 0.6987 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008189/0.4342, allocations: 1.472 MB / 0.7001 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.4357, allocations: 2.191 MB / 0.7023 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00647/0.4422, allocations: 8.647 MB / 0.7107 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4422, allocations: 4 kB / 0.7107 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4422, allocations: 0 / 0.7107 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.011e-05/0.4423, allocations: 0 / 0.7107 GB, free: 4.238 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.01106/0.4533, allocations: 6.985 MB / 0.7175 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4534, allocations: 16.03 kB / 0.7175 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005392/0.4539, allocations: 497 kB / 0.718 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.4571, allocations: 1.219 MB / 0.7192 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.4612, allocations: 3.377 MB / 0.7225 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006361/0.4618, allocations: 1.191 MB / 0.7237 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.4622, allocations: 363.9 kB / 0.724 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.4681, allocations: 4.93 MB / 0.7288 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.4681, allocations: 11.94 kB / 0.7288 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.4683, allocations: 156 kB / 0.729 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.4684, allocations: 84 kB / 0.7291 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.4736, allocations: 3.751 MB / 0.7327 GB, free: 12.96 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.01434/0.488, allocations: 13.56 MB / 0.746 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.4928, allocations: 3.443 MB / 0.7493 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.4949, allocations: 1.554 MB / 0.7509 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.4951, allocations: 53.97 kB / 0.7509 GB, free: 10.08 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002937/0.498, allocations: 2.209 MB / 0.7531 GB, free: 7.816 MB / 0.573 GB Notification: Performance of pre-optimization done (n=293): time 5.781e-06/0.498, allocations: 3.984 kB / 0.7531 GB, free: 7.812 MB / 0.573 GB Notification: Performance of matching and sorting (n=293): time 0.008789/0.5068, allocations: 5.601 MB / 0.7585 GB, free: 2.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.507, allocations: 0.5761 MB / 0.7591 GB, free: 1.453 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.5121, allocations: 4.399 MB / 0.7634 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.5124, allocations: 97.7 kB / 0.7635 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.5139, allocations: 2.075 MB / 0.7655 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009951/0.5149, allocations: 1.054 MB / 0.7665 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.5161, allocations: 0.8512 MB / 0.7674 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.5162, allocations: 305.1 kB / 0.7677 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.5188, allocations: 2.013 MB / 0.7696 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/0.5221, allocations: 3.196 MB / 0.7728 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/0.5385, allocations: 10.06 MB / 0.7826 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.5385, allocations: 4 kB / 0.7826 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=601) (initialization): time 0.008528/0.547, allocations: 5.838 MB / 0.7883 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.5471, allocations: 77.09 kB / 0.7884 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.5471, allocations: 19.88 kB / 0.7884 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.5476, allocations: 381.2 kB / 0.7887 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/0.5509, allocations: 1.447 MB / 0.7902 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5541, allocations: 2.995 MB / 0.7931 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5565, allocations: 0.575 MB / 0.7936 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.5567, allocations: 160 kB / 0.7938 GB, free: 12.96 MB / 0.6198 GB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004371/0.5611, allocations: 2.863 MB / 0.7966 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002982/0.5641, allocations: 3.134 MB / 0.7996 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01648/0.5805, allocations: 9.914 MB / 0.8093 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-05/0.5806, allocations: 8 kB / 0.8093 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=601) (initialization_lambda0): time 0.008187/0.5887, allocations: 5.756 MB / 0.815 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.5888, allocations: 69.66 kB / 0.815 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5888, allocations: 16.12 kB / 0.815 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.5893, allocations: 384.4 kB / 0.8154 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.5925, allocations: 1.424 MB / 0.8168 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.5954, allocations: 2.995 MB / 0.8197 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.5984, allocations: 0.49 MB / 0.8202 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.5986, allocations: 160 kB / 0.8204 GB, free: 0.8477 MB / 0.6355 GB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.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.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2,Xcc_a.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Xcc_a.running,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.and1.u[1],Unit.wecc_regc.QConv0PuPos.y,Unit.wecc_regc.QConv0PuNeg.k,Unit.wecc_regc.and2.u[2],Unit.wecc_regc.QConv0PuNeg.y,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.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 (563): * Single equations (assignments): 561 * 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.001161/0.5998, allocations: 0.6088 MB / 0.8209 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/0.6003, allocations: 489 kB / 0.8214 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/0.6067, allocations: 4.229 MB / 0.8255 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.6068, allocations: 28 kB / 0.8256 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6068, allocations: 4 kB / 0.8256 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.6068, allocations: 11.95 kB / 0.8256 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.6181, allocations: 8.612 MB / 0.834 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6182, allocations: 8 kB / 0.834 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.6211, allocations: 1.081 MB / 0.8351 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.6216, allocations: 364.7 kB / 0.8354 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.6218, allocations: 79.97 kB / 0.8355 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.6248, allocations: 2.987 MB / 0.8384 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6248, allocations: 12.03 kB / 0.8384 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008411/0.6332, allocations: 6.671 MB / 0.8449 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.6347, allocations: 0.9412 MB / 0.8458 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.635, allocations: 87.98 kB / 0.8459 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6363, allocations: 271.6 kB / 0.8462 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.6368, allocations: 305.5 kB / 0.8465 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.6369, allocations: 95.97 kB / 0.8466 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003054/0.64, allocations: 2.889 MB / 0.8494 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.64, allocations: 4 kB / 0.8494 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003224/0.6432, allocations: 1.926 MB / 0.8513 GB, free: 0.6445 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.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,Xcc_a.running,Xcc_a.state,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state) * Number of discrete states: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.running,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.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.009355/0.6526, allocations: 7.682 MB / 0.8588 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.6632, allocations: 7.527 MB / 0.8661 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6633, allocations: 4 kB / 0.8661 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.2811/0.9443, allocations: 2.529 MB / 0.8686 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.9473, allocations: 0.6751 MB / 0.8693 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/0.9993, allocations: 40.76 MB / 0.9091 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1, allocations: 1.893 MB / 0.9109 GB, free: 171 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001845/1.002, allocations: 0.677 MB / 0.9116 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.004, allocations: 2.038 MB / 0.9136 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/1.004, allocations: 4 kB / 0.9136 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/1.163, allocations: 101.3 MB / 1.012 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/12.04, allocations: 15.98 kB / 1.012 GB, free: 67.42 MB / 0.6823 GB " [Timeout remaining time 648] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI2Xcca_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI2Xcca.fmu) > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI2Xcca.fmu) > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.25179715268314]