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.001552/0.001552, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.001664/0.001664, allocations: 157.7 kB / 23.54 MB, free: 0.8984 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.4/1.4, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.6434/0.6434, allocations: 90.63 MB / 328.3 MB, free: 14.59 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.824e-06/1.824e-06, allocations: 3.938 kB / 428.3 MB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.771e-05, allocations: 6.312 kB / 428.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.02442/0.02444, allocations: 16.29 MB / 444.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.04233, allocations: 7.831 MB / 452.4 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.04578, allocations: 115.2 kB / 452.5 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.04924, allocations: 1.104 MB / 453.6 MB, free: 1.512 MB / 426.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.006452/0.05569, allocations: 1.688 MB / 455.3 MB, free: 15.81 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70: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:66:5-70: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:71:5-75: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:71:5-75: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.008959/0.06465, allocations: 3.728 MB / 459 MB, free: 12.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.07545, allocations: 6.716 MB / 465.8 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.0795, allocations: 1.504 MB / 467.3 MB, free: 3.773 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004051/0.08355, allocations: 2.274 MB / 469.5 MB, free: 1.492 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.158/0.2415, allocations: 1.996 MB / 471.5 MB, free: 54.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.243, allocations: 0.704 MB / 472.2 MB, free: 54.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2445, allocations: 1.035 MB / 473.3 MB, free: 54.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007741/0.2453, allocations: 1.49 MB / 474.8 MB, free: 54.28 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.2467, allocations: 1.799 MB / 476.6 MB, free: 54.28 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.2532, allocations: 8.827 MB / 485.4 MB, free: 53.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2532, allocations: 0.5625 kB / 485.4 MB, free: 53.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2532, allocations: 0 / 485.4 MB, free: 53.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.2534, allocations: 0.9688 kB / 485.4 MB, free: 53.95 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01712/0.2705, allocations: 6.915 MB / 492.3 MB, free: 51.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2705, allocations: 8.812 kB / 492.3 MB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.2763, allocations: 1.612 MB / 493.9 MB, free: 50.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/0.2817, allocations: 3.507 MB / 497.4 MB, free: 49.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007141/0.2824, allocations: 1.289 MB / 498.7 MB, free: 48.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000589/0.283, allocations: 373.8 kB / 499.1 MB, free: 48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/0.2909, allocations: 4.91 MB / 0.4922 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.291, allocations: 5.844 kB / 0.4922 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.2914, allocations: 151.7 kB / 0.4923 GB, free: 45.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.2914, allocations: 86.72 kB / 0.4924 GB, free: 45.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007747/0.2992, allocations: 3.713 MB / 0.496 GB, free: 43.89 MB / 442.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.0195/0.3187, allocations: 13.18 MB / 0.5089 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007762/0.3264, allocations: 3.41 MB / 0.5122 GB, free: 34.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.3296, allocations: 1.56 MB / 0.5138 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.3298, allocations: 61.59 kB / 0.5138 GB, free: 34.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003851/0.3337, allocations: 2.2 MB / 0.516 GB, free: 33.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 5.591e-06/0.3337, allocations: 0 / 0.516 GB, free: 33.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.01314/0.3468, allocations: 5.648 MB / 0.5215 GB, free: 30.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.347, allocations: 0.5795 MB / 0.5221 GB, free: 29.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/0.3519, allocations: 3.961 MB / 0.5259 GB, free: 27.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003483/0.3522, allocations: 89.33 kB / 0.526 GB, free: 27.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.3535, allocations: 2.083 MB / 0.528 GB, free: 25.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007766/0.3543, allocations: 1.03 MB / 0.529 GB, free: 24.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.3555, allocations: 0.8161 MB / 0.5298 GB, free: 24.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.313e-05/0.3556, allocations: 305.1 kB / 0.5301 GB, free: 24.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/0.3591, allocations: 1.96 MB / 0.532 GB, free: 22.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/0.3631, allocations: 3.123 MB / 0.5351 GB, free: 18.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02782/0.3909, allocations: 9.871 MB / 0.5447 GB, free: 8.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.3909, allocations: 4 kB / 0.5447 GB, free: 8.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01134/0.4022, allocations: 5.853 MB / 0.5505 GB, free: 2.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.4023, allocations: 65.67 kB / 0.5505 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.4023, allocations: 12 kB / 0.5505 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4035, allocations: 435.6 kB / 0.5509 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006214/0.4097, allocations: 1.425 MB / 0.5523 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.4151, allocations: 2.989 MB / 0.5553 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/0.4193, allocations: 0.5092 MB / 0.5558 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/0.4198, allocations: 156 kB / 0.5559 GB, free: 13.16 MB / 458.7 MB 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.006927/0.4267, allocations: 2.803 MB / 0.5586 GB, free: 10.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00588/0.4326, allocations: 3.076 MB / 0.5616 GB, free: 6.941 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03555/0.4681, allocations: 9.71 MB / 0.5711 GB, free: 13.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.07e-05/0.4682, allocations: 4 kB / 0.5711 GB, free: 13.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.0169/0.4851, allocations: 5.747 MB / 0.5767 GB, free: 7.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4852, allocations: 73.59 kB / 0.5768 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.4852, allocations: 12 kB / 0.5768 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.4866, allocations: 440.8 kB / 0.5772 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007247/0.4938, allocations: 1.396 MB / 0.5786 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/0.4995, allocations: 2.999 MB / 0.5815 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.5044, allocations: 484.3 kB / 0.582 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007045/0.5051, allocations: 156 kB / 0.5821 GB, free: 1.68 MB / 474.7 MB 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 (543): * Single equations (assignments): 541 * 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.001387/0.5065, allocations: 0.5927 MB / 0.5827 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/0.5081, allocations: 0.5362 MB / 0.5832 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5197, allocations: 4.184 MB / 0.5873 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/0.5198, allocations: 34.84 kB / 0.5874 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5198, allocations: 4 kB / 0.5874 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/0.5198, allocations: 15.94 kB / 0.5874 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.5402, allocations: 8.194 MB / 0.5954 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5402, allocations: 4 kB / 0.5954 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006778/0.547, allocations: 1.079 MB / 0.5964 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.5484, allocations: 427.4 kB / 0.5969 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000499/0.5489, allocations: 79.97 kB / 0.5969 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.5543, allocations: 2.97 MB / 0.5998 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.5543, allocations: 11.66 kB / 0.5998 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/0.5714, allocations: 6.701 MB / 0.6064 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/0.5742, allocations: 0.8945 MB / 0.6073 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008055/0.575, allocations: 83.98 kB / 0.6073 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/0.5779, allocations: 271.7 kB / 0.6076 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007881/0.5787, allocations: 301.3 kB / 0.6079 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/0.5789, allocations: 95.91 kB / 0.608 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005061/0.584, allocations: 2.577 MB / 0.6105 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.584, allocations: 0 / 0.6105 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006082/0.5901, allocations: 1.976 MB / 0.6124 GB, free: 2.41 MB / 0.4948 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 (288): * Single equations (assignments): 274 * 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.002151/0.5922, allocations: 0.5576 MB / 0.613 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01913/0.6114, allocations: 7.37 MB / 0.6202 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6114, allocations: 1 kB / 0.6202 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007024/0.6184, allocations: 2.574 MB / 0.6227 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.6225, allocations: 0.7361 MB / 0.6234 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.6443, allocations: 8.997 MB / 0.6322 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.6469, allocations: 1.89 MB / 0.634 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003535/0.6504, allocations: 0.5771 MB / 0.6346 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.6517, allocations: 276.4 kB / 0.6349 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/0.6517, allocations: 0 / 0.6349 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.2481/0.8997, allocations: 52.67 MB / 0.6863 GB, free: 172.7 MB / 0.5417 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.069770575035363]