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.001206/0.001206, allocations: 87.56 kB / 20.45 MB, free: 4.125 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.0009333/0.0009333, allocations: 165 kB / 23.82 MB, free: 0.7539 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.8004/0.8004, allocations: 158.6 MB / 185.7 MB, free: 2.465 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.4217/0.4217, allocations: 90.57 MB / 328.6 MB, free: 14.64 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.412e-06/1.412e-06, allocations: 0 / 429 MB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.54e-05, allocations: 10.25 kB / 429 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01426/0.01428, allocations: 17.48 MB / 446.5 MB, free: 9.078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02455, allocations: 7.929 MB / 454.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.0264, allocations: 111.2 kB / 454.5 MB, free: 1.016 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.02805, allocations: 1.1 MB / 455.6 MB, free: 15.91 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.002895/0.03094, allocations: 1.704 MB / 457.3 MB, free: 14.19 MB / 442.7 MB [/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.004293/0.03524, allocations: 3.731 MB / 461.1 MB, free: 10.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004727/0.03996, allocations: 6.717 MB / 467.8 MB, free: 3.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.04167, allocations: 1.5 MB / 469.3 MB, free: 2.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1669/0.2085, allocations: 2.275 MB / 471.5 MB, free: 51.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.2117, allocations: 2.005 MB / 473.6 MB, free: 51.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.2132, allocations: 0.7023 MB / 474.3 MB, free: 51.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.2145, allocations: 1.028 MB / 475.3 MB, free: 51.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007645/0.2153, allocations: 1.495 MB / 476.8 MB, free: 51.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.2168, allocations: 1.795 MB / 478.6 MB, free: 51.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004317/0.2211, allocations: 4.638 MB / 483.2 MB, free: 50.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2211, allocations: 3.469 kB / 483.2 MB, free: 50.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2211, allocations: 0 / 483.2 MB, free: 50.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.2213, allocations: 0 / 483.2 MB, free: 50.56 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.01374/0.235, allocations: 6.93 MB / 490.1 MB, free: 47.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2351, allocations: 8.594 kB / 490.2 MB, free: 47.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.2386, allocations: 1.618 MB / 491.8 MB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004358/0.2429, allocations: 3.332 MB / 495.1 MB, free: 46.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/0.2434, allocations: 1.183 MB / 496.3 MB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.2439, allocations: 374.4 kB / 496.7 MB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.2483, allocations: 3.733 MB / 0.4887 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.939e-05/0.2484, allocations: 10.09 kB / 0.4887 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.2486, allocations: 148.2 kB / 0.4888 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.2487, allocations: 88.34 kB / 0.4889 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.2516, allocations: 1.522 MB / 0.4904 GB, free: 43.93 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.01578/0.2674, allocations: 13.99 MB / 0.504 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.2712, allocations: 1.878 MB / 0.5059 GB, free: 34.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.2724, allocations: 0.628 MB / 0.5065 GB, free: 33.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.2726, allocations: 64.48 kB / 0.5065 GB, free: 33.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.2745, allocations: 1.271 MB / 0.5078 GB, free: 33.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 6.542e-06/0.2745, allocations: 3.938 kB / 0.5078 GB, free: 33.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.006063/0.2806, allocations: 2.954 MB / 0.5107 GB, free: 32.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2807, allocations: 0.5851 MB / 0.5112 GB, free: 32.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.2847, allocations: 3.299 MB / 0.5145 GB, free: 30.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004075/0.2851, allocations: 97.92 kB / 0.5146 GB, free: 30.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.2863, allocations: 2.158 MB / 0.5167 GB, free: 29.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007535/0.287, allocations: 1.035 MB / 0.5177 GB, free: 28.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009223/0.2879, allocations: 0.8443 MB / 0.5185 GB, free: 27.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.288, allocations: 476.8 kB / 0.519 GB, free: 27.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.2893, allocations: 0.8634 MB / 0.5198 GB, free: 27.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.291, allocations: 2.195 MB / 0.5219 GB, free: 25.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.2951, allocations: 3.527 MB / 0.5254 GB, free: 23.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.2951, allocations: 3.406 kB / 0.5254 GB, free: 23.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.005631/0.3007, allocations: 3.737 MB / 0.529 GB, free: 22.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/0.3008, allocations: 72.83 kB / 0.5291 GB, free: 22.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3008, allocations: 10.94 kB / 0.5291 GB, free: 22.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007535/0.3016, allocations: 347.2 kB / 0.5295 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.3045, allocations: 1.252 MB / 0.5307 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3068, allocations: 2.536 MB / 0.5332 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.309, allocations: 454.1 kB / 0.5336 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.3092, allocations: 156.6 kB / 0.5337 GB, free: 19.09 MB / 442.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.002316/0.3115, allocations: 1.21 MB / 0.5349 GB, free: 18.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001654/0.3132, allocations: 2.188 MB / 0.5371 GB, free: 15.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004084/0.3173, allocations: 3.512 MB / 0.5405 GB, free: 11.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.216e-05/0.3173, allocations: 4 kB / 0.5405 GB, free: 11.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.005765/0.323, allocations: 3.72 MB / 0.5441 GB, free: 8.066 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.3231, allocations: 73.59 kB / 0.5442 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.3231, allocations: 15.84 kB / 0.5442 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.3238, allocations: 351.7 kB / 0.5445 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.3268, allocations: 1.24 MB / 0.5458 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.3289, allocations: 2.535 MB / 0.5482 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.3312, allocations: 433.9 kB / 0.5486 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.3314, allocations: 148 kB / 0.5488 GB, free: 3.242 MB / 442.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.0007976/0.3322, allocations: 0.6829 MB / 0.5495 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007082/0.3329, allocations: 0.5362 MB / 0.55 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.3364, allocations: 2.379 MB / 0.5523 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3365, allocations: 28 kB / 0.5523 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3365, allocations: 4 kB / 0.5523 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.3365, allocations: 15.94 kB / 0.5523 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008933/0.3454, allocations: 6.024 MB / 0.5582 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.3454, allocations: 8 kB / 0.5582 GB, free: 9.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.3481, allocations: 0.9033 MB / 0.5591 GB, free: 8.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/0.3488, allocations: 335.4 kB / 0.5594 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.349, allocations: 71.97 kB / 0.5595 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.3514, allocations: 2.51 MB / 0.562 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3514, allocations: 15.84 kB / 0.562 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.3571, allocations: 3.623 MB / 0.5655 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.3586, allocations: 0.8933 MB / 0.5664 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/0.359, allocations: 83.98 kB / 0.5665 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.3601, allocations: 195.8 kB / 0.5666 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/0.3605, allocations: 293.3 kB / 0.5669 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.3607, allocations: 95.91 kB / 0.567 GB, free: 216 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002264/0.3629, allocations: 1.917 MB / 0.5689 GB, free: 14.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3629, allocations: 0 / 0.5689 GB, free: 14.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003526/0.3664, allocations: 1.976 MB / 0.5708 GB, free: 12.31 MB / 474.7 MB 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.001091/0.3675, allocations: 0.5089 MB / 0.5713 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007105/0.3746, allocations: 4.836 MB / 0.576 GB, free: 7.195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.3746, allocations: 4 kB / 0.576 GB, free: 7.191 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.3765, allocations: 1.273 MB / 0.5773 GB, free: 5.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.3788, allocations: 0.7429 MB / 0.578 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.3895, allocations: 7.666 MB / 0.5855 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.3902, allocations: 0.7156 MB / 0.5862 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002076/0.3922, allocations: 0.5615 MB / 0.5867 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.393, allocations: 276.4 kB / 0.587 GB, free: 11.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/0.393, allocations: 0 / 0.587 GB, free: 11.85 MB / 490.7 MB Notification: Performance of Templates: time 0.06378/0.4568, allocations: 53.13 MB / 0.6389 GB, free: 7.18 MB / 0.5261 GB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.506805749144405]