Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 87.67 kB / 20.23 MB, free: 4.18 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.002034/0.002034, allocations: 157.8 kB / 23.54 MB, free: 0.8789 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.341/1.341, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.8184/0.8184, allocations: 90.61 MB / 328.3 MB, free: 14.61 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.SheetI2Xcca,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.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,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.SheetI2Xcca") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 428.3 MB, free: 11.01 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.3e-05, allocations: 2.312 kB / 428.3 MB, free: 11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.03665/0.03668, allocations: 17.35 MB / 445.6 MB, free: 9.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02348/0.06016, allocations: 7.913 MB / 453.5 MB, free: 1.629 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005662/0.06582, allocations: 115.2 kB / 453.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005061/0.07088, allocations: 1.1 MB / 454.7 MB, free: 416 kB / 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.007941/0.07882, allocations: 1.696 MB / 456.4 MB, free: 14.7 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.009115/0.08794, allocations: 3.743 MB / 460.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.09968, allocations: 6.725 MB / 466.9 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003985/0.1037, allocations: 1.508 MB / 468.4 MB, free: 2.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.1078, allocations: 2.274 MB / 470.7 MB, free: 356 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1847/0.2925, allocations: 2.003 MB / 472.7 MB, free: 54.3 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.294, allocations: 0.7035 MB / 473.4 MB, free: 54.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.2956, allocations: 1.03 MB / 474.4 MB, free: 54.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009041/0.2965, allocations: 1.495 MB / 475.9 MB, free: 54.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.2982, allocations: 1.801 MB / 477.7 MB, free: 54.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.3055, allocations: 8.833 MB / 486.6 MB, free: 53.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3055, allocations: 0 / 486.6 MB, free: 53.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3055, allocations: 0 / 486.6 MB, free: 53.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001608/0.3056, allocations: 3.5 kB / 486.6 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.01688/0.3225, allocations: 7.545 MB / 494.1 MB, free: 51.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3225, allocations: 10.44 kB / 494.1 MB, free: 51.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005797/0.3283, allocations: 1.619 MB / 495.7 MB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/0.3338, allocations: 3.488 MB / 499.2 MB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/0.3344, allocations: 1.288 MB / 0.4888 GB, free: 47.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006146/0.335, allocations: 375.4 kB / 0.4891 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008364/0.3434, allocations: 5.224 MB / 0.4942 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/0.3435, allocations: 6.938 kB / 0.4942 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.3438, allocations: 153.9 kB / 0.4944 GB, free: 44.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.3439, allocations: 89.72 kB / 0.4945 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007524/0.3514, allocations: 3.405 MB / 0.4978 GB, free: 43.14 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.03033/0.3817, allocations: 25.37 MB / 0.5226 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00703/0.3888, allocations: 3.236 MB / 0.5257 GB, free: 26.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.3916, allocations: 1.456 MB / 0.5272 GB, free: 26.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.3919, allocations: 60.48 kB / 0.5272 GB, free: 26.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003797/0.3957, allocations: 2.26 MB / 0.5294 GB, free: 24.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 5.501e-06/0.3957, allocations: 0 / 0.5294 GB, free: 24.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.01256/0.4082, allocations: 5.279 MB / 0.5346 GB, free: 19.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.4084, allocations: 0.5832 MB / 0.5352 GB, free: 18.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006266/0.4146, allocations: 4.941 MB / 0.54 GB, free: 13.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006016/0.4152, allocations: 97.69 kB / 0.5401 GB, free: 13.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.4171, allocations: 2.472 MB / 0.5425 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.4183, allocations: 1.179 MB / 0.5436 GB, free: 9.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.4198, allocations: 1.133 MB / 0.5447 GB, free: 8.832 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.4199, allocations: 476.8 kB / 0.5452 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003343/0.4232, allocations: 1.772 MB / 0.5469 GB, free: 6.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.4272, allocations: 3.344 MB / 0.5502 GB, free: 2.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.4394, allocations: 6.223 MB / 0.5563 GB, free: 12.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.4394, allocations: 4 kB / 0.5563 GB, free: 12.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.0144/0.4538, allocations: 5.579 MB / 0.5617 GB, free: 6.711 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.4539, allocations: 73.59 kB / 0.5618 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.454, allocations: 12 kB / 0.5618 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.4555, allocations: 450.3 kB / 0.5622 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/0.4625, allocations: 1.256 MB / 0.5635 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.4688, allocations: 3.564 MB / 0.5669 GB, free: 1.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/0.4733, allocations: 453.5 kB / 0.5674 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/0.4738, allocations: 152 kB / 0.5675 GB, free: 0.7266 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.006629/0.4804, allocations: 2.6 MB / 0.5701 GB, free: 14.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005976/0.4864, allocations: 3.304 MB / 0.5733 GB, free: 10.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01382/0.5002, allocations: 6.128 MB / 0.5793 GB, free: 4.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-05/0.5002, allocations: 4 kB / 0.5793 GB, free: 4.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.01447/0.5147, allocations: 5.491 MB / 0.5846 GB, free: 14.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.5148, allocations: 73.83 kB / 0.5847 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.5149, allocations: 12 kB / 0.5847 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.5163, allocations: 453.1 kB / 0.5851 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007378/0.5236, allocations: 1.238 MB / 0.5864 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.53, allocations: 3.566 MB / 0.5898 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/0.5349, allocations: 429.9 kB / 0.5902 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007431/0.5357, allocations: 156 kB / 0.5904 GB, free: 8.582 MB / 490.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.001444/0.5371, allocations: 0.6766 MB / 0.5911 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/0.5389, allocations: 0.5323 MB / 0.5916 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.5502, allocations: 3.936 MB / 0.5954 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/0.5502, allocations: 32 kB / 0.5955 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.5502, allocations: 0 / 0.5955 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/0.5503, allocations: 19.95 kB / 0.5955 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/0.5729, allocations: 9.351 MB / 0.6046 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.5729, allocations: 4 kB / 0.6046 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006263/0.5792, allocations: 0.9074 MB / 0.6055 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5806, allocations: 436.6 kB / 0.6059 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003934/0.581, allocations: 79.95 kB / 0.606 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.5874, allocations: 3.554 MB / 0.6095 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.5874, allocations: 4 kB / 0.6095 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/0.6042, allocations: 6.501 MB / 0.6158 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/0.6073, allocations: 0.8982 MB / 0.6167 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008567/0.6082, allocations: 83.98 kB / 0.6168 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/0.6108, allocations: 203.8 kB / 0.617 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007969/0.6116, allocations: 316.8 kB / 0.6173 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/0.6119, allocations: 107.9 kB / 0.6174 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005463/0.6174, allocations: 2.78 MB / 0.6201 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6174, allocations: 0 / 0.6201 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006598/0.624, allocations: 1.984 MB / 0.622 GB, free: 7.84 MB / 0.5105 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.003045/0.627, allocations: 0.5498 MB / 0.6226 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01946/0.6465, allocations: 8.057 MB / 0.6304 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6465, allocations: 0 / 0.6304 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/0.6521, allocations: 2.172 MB / 0.6325 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/0.6563, allocations: 0.7386 MB / 0.6333 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.6767, allocations: 8.658 MB / 0.6417 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.6795, allocations: 1.878 MB / 0.6436 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003333/0.6828, allocations: 0.5654 MB / 0.6441 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.684, allocations: 272.4 kB / 0.6444 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of SimCode: time 2.084e-06/0.6841, allocations: 0 / 0.6444 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of Templates: time 0.2586/0.9427, allocations: 53.23 MB / 0.6963 GB, free: 161.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.290874596103095]