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.0009907/0.0009907, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009634/0.0009634, allocations: 169 kB / 24.17 MB, free: 336 kB / 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.8885/0.8885, allocations: 158.6 MB / 186 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.4343/0.4343, allocations: 90.85 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.613e-06/1.613e-06, allocations: 3.938 kB / 380.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.217e-05, allocations: 2.312 kB / 380.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01409/0.01411, allocations: 16.98 MB / 397.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.02876, allocations: 8.235 MB / 406.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00329/0.03205, allocations: 115.2 kB / 406.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.03404, allocations: 1.12 MB / 407.3 MB, free: 0.5156 MB / 378.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.003244/0.03729, allocations: 1.692 MB / 409 MB, free: 14.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.04186, allocations: 3.743 MB / 412.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.0472, allocations: 6.731 MB / 419.5 MB, free: 4.312 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.04899, allocations: 1.557 MB / 421 MB, free: 2.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.05102, allocations: 2.29 MB / 423.3 MB, free: 380 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.05246, allocations: 2.017 MB / 425.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005634/0.05303, allocations: 0.7031 MB / 426 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.05409, allocations: 1.054 MB / 427.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.05486, allocations: 1.495 MB / 428.6 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.05591, allocations: 1.799 MB / 430.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.05971, allocations: 4.655 MB / 435 MB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.05971, allocations: 0 / 435 MB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.05971, allocations: 0 / 435 MB, free: 4.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.05974, allocations: 0 / 435 MB, free: 4.609 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.007569/0.06731, allocations: 6.781 MB / 441.8 MB, free: 13.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.06735, allocations: 12.03 kB / 441.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.07036, allocations: 1.492 MB / 443.3 MB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.07276, allocations: 2.115 MB / 445.4 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/0.07331, allocations: 1.183 MB / 446.6 MB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.07365, allocations: 367.9 kB / 447 MB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.07687, allocations: 3.428 MB / 450.4 MB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.07691, allocations: 7.938 kB / 450.4 MB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.0771, allocations: 148 kB / 450.6 MB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.07715, allocations: 84 kB / 450.6 MB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.07878, allocations: 1.089 MB / 451.7 MB, free: 3.207 MB / 426.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.01027/0.08905, allocations: 9.429 MB / 461.2 MB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.09169, allocations: 1.685 MB / 462.8 MB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.0923, allocations: 463.5 kB / 463.3 MB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.09251, allocations: 65.97 kB / 463.4 MB, free: 7.336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.09376, allocations: 1.186 MB / 464.5 MB, free: 6.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 4.078e-06/0.09376, allocations: 0 / 464.5 MB, free: 6.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.003469/0.09723, allocations: 1.996 MB / 466.5 MB, free: 4.051 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002351/0.09747, allocations: 0.5799 MB / 467.1 MB, free: 3.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.1004, allocations: 3.001 MB / 470.1 MB, free: 308 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.1005, allocations: 101.7 kB / 470.2 MB, free: 200 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1895/0.2901, allocations: 1.419 MB / 471.6 MB, free: 70.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.2912, allocations: 1.057 MB / 472.7 MB, free: 69.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.2922, allocations: 0.8313 MB / 473.5 MB, free: 69.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.2923, allocations: 302.5 kB / 473.8 MB, free: 69.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.2937, allocations: 0.7712 MB / 474.6 MB, free: 69.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2954, allocations: 1.905 MB / 476.5 MB, free: 67.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.2996, allocations: 3.37 MB / 479.9 MB, free: 67.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.2997, allocations: 5.875 kB / 479.9 MB, free: 67.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.004295/0.304, allocations: 2.934 MB / 482.8 MB, free: 67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.304, allocations: 72.67 kB / 482.9 MB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.304, allocations: 15.12 kB / 482.9 MB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/0.3047, allocations: 318.2 kB / 483.2 MB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.3075, allocations: 1.356 MB / 484.6 MB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.3093, allocations: 1.851 MB / 486.4 MB, free: 65.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.3109, allocations: 445.9 kB / 486.8 MB, free: 65.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.3111, allocations: 119.9 kB / 487 MB, free: 65.64 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.omegaRefWTGQ0Pu 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.002168/0.3133, allocations: 1.097 MB / 488.1 MB, free: 65.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001444/0.3147, allocations: 1.902 MB / 490 MB, free: 64.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003813/0.3185, allocations: 3.348 MB / 493.3 MB, free: 63.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.225e-05/0.3186, allocations: 3.875 kB / 493.3 MB, free: 63.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.003794/0.3224, allocations: 2.929 MB / 496.2 MB, free: 62.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.3224, allocations: 71.61 kB / 496.3 MB, free: 62.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3224, allocations: 12 kB / 496.3 MB, free: 62.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3229, allocations: 325.8 kB / 496.6 MB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.3256, allocations: 1.34 MB / 498 MB, free: 61.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.3273, allocations: 1.848 MB / 499.8 MB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3287, allocations: 433 kB / 0.4885 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.3288, allocations: 118.2 kB / 0.4886 GB, free: 59.5 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.omegaRefWTGQ0Pu 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 (547): * Single equations (assignments): 545 * 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.0006458/0.3295, allocations: 0.5931 MB / 0.4892 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.3298, allocations: 356.6 kB / 0.4896 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.3321, allocations: 1.776 MB / 0.4913 GB, free: 57.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3321, allocations: 28 kB / 0.4913 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3321, allocations: 4 kB / 0.4913 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.3321, allocations: 17.48 kB / 0.4913 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.337, allocations: 4.134 MB / 0.4954 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.337, allocations: 4 kB / 0.4954 GB, free: 54.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/0.3395, allocations: 0.9684 MB / 0.4963 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.34, allocations: 311.4 kB / 0.4966 GB, free: 53.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.3401, allocations: 82.89 kB / 0.4967 GB, free: 53.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.3416, allocations: 1.822 MB / 0.4985 GB, free: 51.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3416, allocations: 7.375 kB / 0.4985 GB, free: 51.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.3444, allocations: 2.613 MB / 0.501 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.3452, allocations: 470.5 kB / 0.5015 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.3455, allocations: 86.45 kB / 0.5016 GB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.3465, allocations: 196.9 kB / 0.5018 GB, free: 48.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.3468, allocations: 291.5 kB / 0.502 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.347, allocations: 76.48 kB / 0.5021 GB, free: 48.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.3482, allocations: 1.575 MB / 0.5037 GB, free: 46.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3482, allocations: 0 / 0.5037 GB, free: 46.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002777/0.3509, allocations: 1.998 MB / 0.5056 GB, free: 44.88 MB / 442.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 (290): * Single equations (assignments): 276 * 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.001204/0.3521, allocations: 0.6196 MB / 0.5062 GB, free: 44.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004994/0.3571, allocations: 4.333 MB / 0.5104 GB, free: 40.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.137e-05/0.3572, allocations: 40.5 kB / 0.5105 GB, free: 40.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3583, allocations: 1.051 MB / 0.5115 GB, free: 39.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.3598, allocations: 0.7338 MB / 0.5122 GB, free: 39.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007992/0.3678, allocations: 7.612 MB / 0.5197 GB, free: 31.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.3683, allocations: 0.716 MB / 0.5204 GB, free: 30.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001591/0.3699, allocations: 0.5889 MB / 0.5209 GB, free: 30.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/0.3713, allocations: 0.7001 MB / 0.5216 GB, free: 29.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3713, allocations: 0 / 0.5216 GB, free: 29.45 MB / 442.7 MB Notification: Performance of Templates: time 0.06424/0.4355, allocations: 58.35 MB / 0.5786 GB, free: 3.594 MB / 474.7 MB " [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 -s gbode -gbm=radauIIA3 -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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.574673312250525]