Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.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.000957/0.000957, allocations: 80.45 kB / 20.71 MB, free: 3.863 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.0008312/0.0008312, allocations: 169.2 kB / 23.98 MB, free: 0.5859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.793/0.793, allocations: 158.6 MB / 185.8 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4376/0.4376, allocations: 90.27 MB / 328.3 MB, free: 15.01 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.4967 GB, free: 19.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.121e-05, allocations: 9.266 kB / 0.4967 GB, free: 19.28 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01558/0.01561, allocations: 16.24 MB / 0.5126 GB, free: 8.387 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.02755, allocations: 7.811 MB / 0.5202 GB, free: 2.715 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.03019, allocations: 112.8 kB / 0.5203 GB, free: 2.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.03213, allocations: 1.106 MB / 0.5214 GB, free: 2.047 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.003169/0.0353, allocations: 1.686 MB / 0.523 GB, free: 0.707 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation Unit.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation Unit.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation Unit.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation Unit.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.04068, allocations: 3.755 MB / 0.5267 GB, free: 13.69 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006162/0.04684, allocations: 6.721 MB / 0.5333 GB, free: 9.309 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.04886, allocations: 1.499 MB / 0.5347 GB, free: 8.191 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.05162, allocations: 2.275 MB / 0.5369 GB, free: 6.664 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.05346, allocations: 1.995 MB / 0.5389 GB, free: 5.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000709/0.05417, allocations: 0.7036 MB / 0.5396 GB, free: 4.98 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.05533, allocations: 1.027 MB / 0.5406 GB, free: 3.953 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007586/0.05609, allocations: 1.491 MB / 0.542 GB, free: 2.457 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.05718, allocations: 1.788 MB / 0.5438 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.06334, allocations: 8.802 MB / 0.5524 GB, free: 7.836 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.06335, allocations: 7.984 kB / 0.5524 GB, free: 7.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.06335, allocations: 0 / 0.5524 GB, free: 7.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.302e-05/0.06339, allocations: 0 / 0.5524 GB, free: 7.828 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.009299/0.07269, allocations: 6.91 MB / 0.5591 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.07274, allocations: 12.02 kB / 0.5591 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.07539, allocations: 1.207 MB / 0.5603 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/0.07927, allocations: 3.366 MB / 0.5636 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006242/0.07989, allocations: 1.295 MB / 0.5649 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.08024, allocations: 367.9 kB / 0.5652 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/0.08603, allocations: 4.891 MB / 0.57 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.08607, allocations: 3.938 kB / 0.57 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.08631, allocations: 148 kB / 0.5701 GB, free: 4.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.08635, allocations: 88 kB / 0.5702 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005303/0.09165, allocations: 3.687 MB / 0.5738 GB, free: 1.137 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.1058, allocations: 12.99 MB / 0.5865 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.1111, allocations: 3.351 MB / 0.5898 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.1132, allocations: 1.548 MB / 0.5913 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.1134, allocations: 50.34 kB / 0.5913 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002909/0.1163, allocations: 2.181 MB / 0.5935 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 5.14e-06/0.1163, allocations: 0 / 0.5935 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=287): time 0.008905/0.1252, allocations: 5.51 MB / 0.5989 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/0.1255, allocations: 0.5799 MB / 0.5994 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/0.1299, allocations: 3.955 MB / 0.6033 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.1301, allocations: 93.69 kB / 0.6034 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.1314, allocations: 2.081 MB / 0.6054 GB, free: 260 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008049/0.1322, allocations: 1.019 MB / 0.6064 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.1333, allocations: 0.8154 MB / 0.6072 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.1334, allocations: 301.1 kB / 0.6075 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.1362, allocations: 1.949 MB / 0.6094 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/0.1399, allocations: 3.124 MB / 0.6124 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01744/0.1573, allocations: 9.773 MB / 0.622 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.1573, allocations: 8 kB / 0.622 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.00817/0.1655, allocations: 5.638 MB / 0.6275 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.1655, allocations: 65.67 kB / 0.6276 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.1656, allocations: 12 kB / 0.6276 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.1661, allocations: 389.1 kB / 0.6279 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.1693, allocations: 1.416 MB / 0.6293 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.1726, allocations: 2.972 MB / 0.6322 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.1749, allocations: 0.5054 MB / 0.6327 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.1751, allocations: 152 kB / 0.6329 GB, free: 3.246 MB / 0.5417 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.omegaRefWTGQPu0 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.004829/0.1799, allocations: 2.785 MB / 0.6356 GB, free: 476 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003282/0.1832, allocations: 3.061 MB / 0.6386 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01709/0.2003, allocations: 9.644 MB / 0.648 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.254e-05/0.2003, allocations: 7.938 kB / 0.648 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=576) (initialization_lambda0): time 0.007876/0.2082, allocations: 5.529 MB / 0.6534 GB, free: 13.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.2083, allocations: 75.88 kB / 0.6535 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.2083, allocations: 12 kB / 0.6535 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.2088, allocations: 388.6 kB / 0.6539 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/0.2122, allocations: 1.393 MB / 0.6552 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.2155, allocations: 2.975 MB / 0.6581 GB, free: 8.555 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.2175, allocations: 481.9 kB / 0.6586 GB, free: 8.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.2177, allocations: 156 kB / 0.6587 GB, free: 7.93 MB / 0.573 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.omegaRefWTGQPu0 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: 75 ($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.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.k,$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 (539): * Single equations (assignments): 537 * 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.0009916/0.2187, allocations: 0.5858 MB / 0.6593 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.2191, allocations: 453.1 kB / 0.6597 GB, free: 6.902 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/0.2258, allocations: 4.16 MB / 0.6638 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.2258, allocations: 28 kB / 0.6638 GB, free: 2.648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.2258, allocations: 4 kB / 0.6638 GB, free: 2.645 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.2258, allocations: 11.95 kB / 0.6638 GB, free: 2.633 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.2374, allocations: 8.117 MB / 0.6718 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.2374, allocations: 4.656 kB / 0.6718 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/0.2403, allocations: 1.069 MB / 0.6728 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/0.2408, allocations: 372.7 kB / 0.6732 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.241, allocations: 79.97 kB / 0.6732 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.2445, allocations: 2.956 MB / 0.6761 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.2445, allocations: 8.031 kB / 0.6761 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.264/0.5085, allocations: 6.544 MB / 0.6825 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/0.5114, allocations: 0.8867 MB / 0.6834 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/0.5118, allocations: 84.22 kB / 0.6835 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.5134, allocations: 268.7 kB / 0.6837 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/0.514, allocations: 306.6 kB / 0.684 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.5142, allocations: 97.05 kB / 0.6841 GB, free: 161.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003584/0.5178, allocations: 2.576 MB / 0.6866 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5178, allocations: 2.656 kB / 0.6866 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003786/0.5216, allocations: 1.976 MB / 0.6886 GB, free: 160.6 MB / 0.5886 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 (284): * Single equations (assignments): 270 * 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.001054/0.5227, allocations: 0.5414 MB / 0.6891 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01224/0.5349, allocations: 7.338 MB / 0.6963 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.5349, allocations: 1.406 kB / 0.6963 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/0.539, allocations: 2.465 MB / 0.6987 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.542, allocations: 0.6445 MB / 0.6993 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.5563, allocations: 8.888 MB / 0.708 GB, free: 152 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.5586, allocations: 1.88 MB / 0.7098 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.5598, allocations: 297.9 kB / 0.7101 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.422e-06/0.5598, allocations: 4 kB / 0.7101 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.07974/0.6395, allocations: 84.28 MB / 0.7924 GB, free: 78.37 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.523851280100644]