Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.0008607/0.0008607, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.0008909/0.0008909, allocations: 169.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 1.133/1.133, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.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.4903/0.4903, allocations: 90.84 MB / 328.1 MB, free: 14.52 MB / 314.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.SheetI7QMax,fileNamePrefix="Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,fileNamePrefix="Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 1.375 kB / 0.4964 GB, free: 19.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.334e-05, allocations: 2.281 kB / 0.4964 GB, free: 19.22 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01651/0.01653, allocations: 16.57 MB / 0.5126 GB, free: 8.113 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.03172, allocations: 8.198 MB / 0.5206 GB, free: 2.176 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004972/0.03669, allocations: 117.6 kB / 0.5207 GB, free: 2.125 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.04048, allocations: 1.279 MB / 0.5219 GB, free: 1.297 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.006968/0.04744, allocations: 1.849 MB / 0.5237 GB, free: 15.78 MB / 458.7 MB [/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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.05848, allocations: 3.893 MB / 0.5275 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.06892, allocations: 6.99 MB / 0.5344 GB, free: 8.113 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003452/0.07237, allocations: 1.501 MB / 0.5358 GB, free: 6.996 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.07634, allocations: 2.377 MB / 0.5382 GB, free: 5.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.07987, allocations: 2.127 MB / 0.5402 GB, free: 3.668 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.08193, allocations: 0.707 MB / 0.5409 GB, free: 2.961 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.08489, allocations: 1.081 MB / 0.542 GB, free: 1.879 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.08631, allocations: 1.576 MB / 0.5435 GB, free: 304 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.08864, allocations: 1.842 MB / 0.5453 GB, free: 14.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.09885, allocations: 9.059 MB / 0.5542 GB, free: 5.359 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.09886, allocations: 0 / 0.5542 GB, free: 5.359 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.09886, allocations: 3.938 kB / 0.5542 GB, free: 5.355 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003842/0.09924, allocations: 0 / 0.5542 GB, free: 5.355 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.01459/0.1138, allocations: 7.065 MB / 0.5611 GB, free: 14.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1139, allocations: 12.03 kB / 0.5611 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005489/0.1144, allocations: 489.1 kB / 0.5615 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.1174, allocations: 1.09 MB / 0.5626 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/0.1234, allocations: 3.55 MB / 0.5661 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/0.1246, allocations: 0.9992 MB / 0.567 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.126, allocations: 363.9 kB / 0.5674 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.1343, allocations: 4.896 MB / 0.5722 GB, free: 2.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.1344, allocations: 7.875 kB / 0.5722 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.1347, allocations: 156 kB / 0.5723 GB, free: 2.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/0.1348, allocations: 88 kB / 0.5724 GB, free: 2.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005983/0.1408, allocations: 3.653 MB / 0.576 GB, free: 14.35 MB / 0.4948 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.02099/0.1617, allocations: 13.56 MB / 0.5892 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.1683, allocations: 3.432 MB / 0.5926 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.1711, allocations: 1.512 MB / 0.5941 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.1713, allocations: 41.98 kB / 0.5941 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003039/0.1743, allocations: 2.162 MB / 0.5962 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 5.951e-06/0.1743, allocations: 0 / 0.5962 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292): time 0.009339/0.1837, allocations: 5.304 MB / 0.6014 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.1839, allocations: 0.605 MB / 0.602 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006547/0.1904, allocations: 4.879 MB / 0.6067 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007769/0.1912, allocations: 97.7 kB / 0.6068 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.1929, allocations: 2.214 MB / 0.609 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.1943, allocations: 1.031 MB / 0.61 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.1954, allocations: 0.8473 MB / 0.6108 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.1955, allocations: 309.1 kB / 0.6111 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.1984, allocations: 1.959 MB / 0.613 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.202, allocations: 3.15 MB / 0.6161 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0197/0.2217, allocations: 9.764 MB / 0.6256 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.2217, allocations: 4 kB / 0.6257 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=602) (initialization): time 0.01008/0.2318, allocations: 5.646 MB / 0.6312 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.2319, allocations: 81.59 kB / 0.6312 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.2319, allocations: 12 kB / 0.6313 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.2324, allocations: 244.7 kB / 0.6315 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/0.2362, allocations: 1.463 MB / 0.6329 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.2387, allocations: 2.323 MB / 0.6352 GB, free: 256 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.2422, allocations: 0.5714 MB / 0.6357 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000711/0.2429, allocations: 171.9 kB / 0.6359 GB, free: 15.51 MB / 0.5573 GB Warning: Assuming fixed start value for the following 35 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) 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.005639/0.2486, allocations: 2.855 MB / 0.6387 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003825/0.2524, allocations: 3.096 MB / 0.6417 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01935/0.2718, allocations: 9.616 MB / 0.6511 GB, free: 15.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.399e-05/0.2718, allocations: 8 kB / 0.6511 GB, free: 15.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=602) (initialization_lambda0): time 0.01011/0.2819, allocations: 5.54 MB / 0.6565 GB, free: 9.648 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.282, allocations: 77.62 kB / 0.6566 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.282, allocations: 16.06 kB / 0.6566 GB, free: 9.551 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.2825, allocations: 252.6 kB / 0.6569 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004319/0.2868, allocations: 1.444 MB / 0.6583 GB, free: 7.855 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.2892, allocations: 2.331 MB / 0.6605 GB, free: 5.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/0.2925, allocations: 0.4939 MB / 0.661 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/0.2929, allocations: 160 kB / 0.6612 GB, free: 4.758 MB / 0.573 GB Warning: Assuming fixed start value for the following 35 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) 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: 54 * Number of states: 0 () * Number of discrete variables: 85 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19,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 (568): * Single equations (assignments): 566 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.2939, allocations: 0.5874 MB / 0.6617 GB, free: 4.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008624/0.2947, allocations: 0.5085 MB / 0.6622 GB, free: 3.668 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007269/0.302, allocations: 3.992 MB / 0.6661 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.302, allocations: 28 kB / 0.6662 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.302, allocations: 4 kB / 0.6662 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.302, allocations: 11.95 kB / 0.6662 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.3156, allocations: 8.336 MB / 0.6743 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.3156, allocations: 11.94 kB / 0.6743 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/0.3189, allocations: 1.077 MB / 0.6754 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.3194, allocations: 232.7 kB / 0.6756 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/0.3197, allocations: 84.14 kB / 0.6757 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.3222, allocations: 2.307 MB / 0.6779 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.3222, allocations: 7.938 kB / 0.678 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2627/0.5849, allocations: 6.39 MB / 0.6842 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/0.5874, allocations: 0.9686 MB / 0.6851 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/0.5881, allocations: 90.27 kB / 0.6852 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.5899, allocations: 270.9 kB / 0.6855 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005285/0.5904, allocations: 296.9 kB / 0.6858 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.5906, allocations: 99.25 kB / 0.6859 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005523/0.5961, allocations: 3.238 MB / 0.689 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5961, allocations: 0 / 0.689 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009545/0.6056, allocations: 1.947 MB / 0.6909 GB, free: 158.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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: 44 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,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,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 15 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,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 (293): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01198/0.6176, allocations: 7.749 MB / 0.6985 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01452/0.6321, allocations: 7.289 MB / 0.7056 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/0.6322, allocations: 9.312 kB / 0.7056 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.637, allocations: 2.443 MB / 0.708 GB, free: 151.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/0.6411, allocations: 0.7301 MB / 0.7087 GB, free: 151 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08651/0.7276, allocations: 42.15 MB / 0.7499 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.7294, allocations: 2.008 MB / 0.7518 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003121/0.7325, allocations: 0.7184 MB / 0.7525 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/0.735, allocations: 2.156 MB / 0.7546 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.384e-06/0.735, allocations: 0 / 0.7546 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1844/0.9194, allocations: 103.9 MB / 0.8561 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.37, allocations: 8.062 kB / 0.8561 GB, free: 10.66 MB / 0.5886 GB " [Timeout remaining time 646] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../Dynawo_Dynawo_Examples_GridCodeSimulations_SheetSimulations_SheetI7QMax.fmu) > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_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_SheetI7QMax.fmu) > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.00954964477569]