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.0009607/0.0009607, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.001022/0.001022, allocations: 164.6 kB / 24.85 MB, free: 8.652 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.9772/0.9772, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.4627/0.4627, allocations: 90.57 MB / 329.7 MB, free: 14.53 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.533e-06/1.533e-06, allocations: 0 / 430.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.638e-05, allocations: 9.828 kB / 430.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01495/0.01498, allocations: 16.8 MB / 447.1 MB, free: 9.473 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.02669, allocations: 7.886 MB / 455 MB, free: 1.562 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.02903, allocations: 119.2 kB / 455.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.03078, allocations: 1.093 MB / 456.2 MB, free: 352 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.00279/0.03357, allocations: 1.692 MB / 457.9 MB, free: 14.64 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.004328/0.0379, allocations: 3.716 MB / 461.6 MB, free: 10.92 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004672/0.04257, allocations: 6.721 MB / 468.3 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.04432, allocations: 1.504 MB / 469.8 MB, free: 2.609 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.0462, allocations: 2.278 MB / 472.1 MB, free: 332 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1822/0.2284, allocations: 2.002 MB / 474.1 MB, free: 54.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.2301, allocations: 0.7007 MB / 474.8 MB, free: 54.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.2314, allocations: 1.026 MB / 475.8 MB, free: 54.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006981/0.2321, allocations: 1.496 MB / 477.3 MB, free: 54.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.2338, allocations: 1.792 MB / 479.1 MB, free: 54.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.2378, allocations: 4.639 MB / 483.8 MB, free: 54.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2378, allocations: 0 / 483.8 MB, free: 54.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2378, allocations: 2.75 kB / 483.8 MB, free: 54.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.812e-05/0.2378, allocations: 0 / 483.8 MB, free: 54.44 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.007853/0.2457, allocations: 6.973 MB / 490.7 MB, free: 51.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2457, allocations: 11.12 kB / 490.7 MB, free: 51.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.2488, allocations: 1.617 MB / 492.4 MB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.2514, allocations: 3.204 MB / 495.6 MB, free: 50.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.2518, allocations: 1.182 MB / 496.7 MB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.2522, allocations: 375.5 kB / 497.1 MB, free: 49.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.2553, allocations: 3.488 MB / 0.4889 GB, free: 47.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.2553, allocations: 9.375 kB / 0.4889 GB, free: 47.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.2555, allocations: 154 kB / 0.489 GB, free: 47.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.2556, allocations: 88.66 kB / 0.4891 GB, free: 47.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.2573, allocations: 1.203 MB / 0.4903 GB, free: 47.41 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.01131/0.2687, allocations: 13.43 MB / 0.5034 GB, free: 38.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.2714, allocations: 1.714 MB / 0.5051 GB, free: 38.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/0.2722, allocations: 0.5141 MB / 0.5056 GB, free: 38.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.2724, allocations: 63.28 kB / 0.5056 GB, free: 38.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.2739, allocations: 1.167 MB / 0.5068 GB, free: 37.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.889e-06/0.2739, allocations: 0 / 0.5068 GB, free: 37.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.0051/0.279, allocations: 2.623 MB / 0.5093 GB, free: 37.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2791, allocations: 0.5753 MB / 0.5099 GB, free: 36.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.2821, allocations: 3.167 MB / 0.513 GB, free: 36.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.2823, allocations: 97.72 kB / 0.5131 GB, free: 35.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.2836, allocations: 2.199 MB / 0.5152 GB, free: 34.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007847/0.2844, allocations: 1.051 MB / 0.5162 GB, free: 33.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.2854, allocations: 0.868 MB / 0.5171 GB, free: 33.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2855, allocations: 480.8 kB / 0.5176 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.2867, allocations: 0.7875 MB / 0.5183 GB, free: 32.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.2884, allocations: 2.148 MB / 0.5204 GB, free: 31.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.292, allocations: 3.373 MB / 0.5237 GB, free: 29.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.292, allocations: 3.469 kB / 0.5237 GB, free: 29.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.00483/0.2969, allocations: 3.578 MB / 0.5272 GB, free: 28.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.2969, allocations: 68.08 kB / 0.5273 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.2969, allocations: 11.88 kB / 0.5273 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.2976, allocations: 341.1 kB / 0.5276 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.3006, allocations: 1.254 MB / 0.5288 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.3026, allocations: 2.475 MB / 0.5313 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.3046, allocations: 451.1 kB / 0.5317 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.3047, allocations: 115.4 kB / 0.5318 GB, free: 25.36 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.002177/0.3069, allocations: 1.136 MB / 0.5329 GB, free: 24.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001477/0.3084, allocations: 2.135 MB / 0.535 GB, free: 22.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003291/0.3117, allocations: 3.373 MB / 0.5383 GB, free: 18.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.939e-06/0.3117, allocations: 4 kB / 0.5383 GB, free: 18.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.004188/0.3159, allocations: 3.552 MB / 0.5418 GB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.3159, allocations: 69.66 kB / 0.5418 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3159, allocations: 12 kB / 0.5418 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.3165, allocations: 345.4 kB / 0.5422 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.3192, allocations: 1.246 MB / 0.5434 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.3211, allocations: 2.468 MB / 0.5458 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.3228, allocations: 433.9 kB / 0.5462 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.323, allocations: 120 kB / 0.5463 GB, free: 10.3 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,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,Xcc_a.switchOffSignal1,Xcc_a.switchOffSignal2,$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.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.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) * 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.0008804/0.3238, allocations: 0.6764 MB / 0.547 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.3245, allocations: 0.5362 MB / 0.5475 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.3274, allocations: 2.162 MB / 0.5496 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.3274, allocations: 28 kB / 0.5496 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3275, allocations: 7.938 kB / 0.5497 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.3275, allocations: 11.95 kB / 0.5497 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.3334, allocations: 5.281 MB / 0.5548 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3334, allocations: 8 kB / 0.5548 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/0.3359, allocations: 0.9057 MB / 0.5557 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.3365, allocations: 331.1 kB / 0.556 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.3366, allocations: 75.97 kB / 0.5561 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.3388, allocations: 2.443 MB / 0.5585 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3388, allocations: 5.781 kB / 0.5585 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/0.343, allocations: 3.284 MB / 0.5617 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.3441, allocations: 0.8935 MB / 0.5626 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.3445, allocations: 83.98 kB / 0.5626 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3456, allocations: 199.8 kB / 0.5628 GB, free: 9.461 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.346, allocations: 289.2 kB / 0.5631 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.3461, allocations: 75.97 kB / 0.5632 GB, free: 9.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001551/0.3477, allocations: 1.712 MB / 0.5649 GB, free: 7.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3477, allocations: 0 / 0.5649 GB, free: 7.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003456/0.3512, allocations: 1.98 MB / 0.5668 GB, free: 5.574 MB / 458.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.001008/0.3522, allocations: 0.5137 MB / 0.5673 GB, free: 5.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.3585, allocations: 4.587 MB / 0.5718 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3585, allocations: 7.562 kB / 0.5718 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.36, allocations: 1.164 MB / 0.5729 GB, free: 15.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.3619, allocations: 0.7428 MB / 0.5736 GB, free: 14.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009781/0.3717, allocations: 7.625 MB / 0.5811 GB, free: 7.254 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.3723, allocations: 0.7117 MB / 0.5818 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001706/0.374, allocations: 0.5381 MB / 0.5823 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.3756, allocations: 0.7908 MB / 0.5831 GB, free: 5.184 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3756, allocations: 0 / 0.5831 GB, free: 5.184 MB / 474.7 MB Notification: Performance of Templates: time 0.07078/0.4464, allocations: 59.89 MB / 0.6416 GB, free: 9.781 MB / 0.5261 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.003403353039175]