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.001092/0.001092, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004649/0.005741, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007756/0.0007756, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001768, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9159/0.9159, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1656/1.081, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4661/0.4661, allocations: 100.5 MB / 321.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05928/0.5254, allocations: 35.7 MB / 357.5 MB, free: 1.316 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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.573e-06/1.573e-06, allocations: 0 / 359 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.652e-05, allocations: 6.25 kB / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.02041/0.02043, allocations: 17.23 MB / 376.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.03683, allocations: 8.358 MB / 384.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.04107, allocations: 119.2 kB / 384.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.04457, allocations: 1.128 MB / 385.9 MB, free: 4.848 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.006117/0.05069, allocations: 1.855 MB / 387.7 MB, free: 2.98 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.006579/0.05727, allocations: 3.638 MB / 391.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008406/0.06568, allocations: 6.67 MB / 398 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.06892, allocations: 1.563 MB / 399.6 MB, free: 7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007008/0.07593, allocations: 4.432 MB / 404 MB, free: 2.484 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.07867, allocations: 2.052 MB / 406.1 MB, free: 436 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.08022, allocations: 0.7109 MB / 406.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.08222, allocations: 1.054 MB / 407.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.08336, allocations: 1.149 MB / 409 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.08579, allocations: 1.438 MB / 410.4 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.09191, allocations: 4.335 MB / 414.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.09193, allocations: 0 / 414.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09194, allocations: 0 / 414.8 MB, free: 7.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.09208, allocations: 0 / 414.8 MB, free: 7.715 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01083/0.1029, allocations: 7.841 MB / 422.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1029, allocations: 8.031 kB / 422.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.1075, allocations: 1.851 MB / 424.5 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/0.1109, allocations: 2.107 MB / 426.6 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007207/0.1116, allocations: 1.241 MB / 427.8 MB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/0.1121, allocations: 383.9 kB / 428.2 MB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/0.1162, allocations: 3.452 MB / 431.6 MB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.1162, allocations: 11.94 kB / 431.7 MB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.1165, allocations: 152 kB / 431.8 MB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.1165, allocations: 88 kB / 431.9 MB, free: 5.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.1183, allocations: 1.101 MB / 433 MB, free: 4.75 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.01238/0.1307, allocations: 9.571 MB / 442.6 MB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.133, allocations: 1.702 MB / 444.3 MB, free: 9.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.1336, allocations: 479.7 kB / 444.7 MB, free: 8.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.1338, allocations: 70.02 kB / 444.8 MB, free: 8.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.1352, allocations: 1.204 MB / 446 MB, free: 7.418 MB / 442.7 MB Notification: Performance of pre-optimization done (n=300): time 4.137e-06/0.1352, allocations: 0 / 446 MB, free: 7.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=300): time 0.003677/0.1389, allocations: 2.024 MB / 448 MB, free: 5.348 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.139, allocations: 127.2 kB / 448.2 MB, free: 5.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.1421, allocations: 3.013 MB / 451.2 MB, free: 2.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003253/0.1425, allocations: 101.7 kB / 451.3 MB, free: 2.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009649/0.1434, allocations: 1.431 MB / 452.7 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.198/0.3415, allocations: 1.075 MB / 453.8 MB, free: 53.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.343, allocations: 0.8485 MB / 454.6 MB, free: 53.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.343, allocations: 305.6 kB / 454.9 MB, free: 53.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.3445, allocations: 0.8163 MB / 455.7 MB, free: 53.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.3464, allocations: 1.953 MB / 457.7 MB, free: 52.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.3511, allocations: 3.517 MB / 461.2 MB, free: 51.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.3512, allocations: 2.625 kB / 461.2 MB, free: 51.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.004563/0.3557, allocations: 3.047 MB / 464.3 MB, free: 51.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.3558, allocations: 71.69 kB / 464.3 MB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.3558, allocations: 17.09 kB / 464.3 MB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/0.3565, allocations: 325.8 kB / 464.7 MB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.3596, allocations: 1.443 MB / 466.1 MB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.3615, allocations: 1.852 MB / 468 MB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.3647, allocations: 457 kB / 468.4 MB, free: 49.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.3651, allocations: 120.6 kB / 468.5 MB, free: 49.9 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.002751/0.3678, allocations: 1.133 MB / 469.7 MB, free: 49.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001541/0.3694, allocations: 1.947 MB / 471.6 MB, free: 48.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003934/0.3733, allocations: 3.483 MB / 475.1 MB, free: 47.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-05/0.3733, allocations: 3.625 kB / 475.1 MB, free: 47.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.004112/0.3774, allocations: 3.053 MB / 478.1 MB, free: 47.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.3775, allocations: 65.64 kB / 478.2 MB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.3775, allocations: 14.88 kB / 478.2 MB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.3781, allocations: 324.2 kB / 478.5 MB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.381, allocations: 1.434 MB / 480 MB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.3827, allocations: 1.853 MB / 481.8 MB, free: 45.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.3847, allocations: 443.4 kB / 482.3 MB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.3849, allocations: 116.8 kB / 482.4 MB, free: 45.03 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.switchOffSignal1,Unit.switchOffSignal2,Unit.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 (560): * Single equations (assignments): 558 * 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.0008257/0.3857, allocations: 0.6032 MB / 483 MB, free: 44.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/0.3863, allocations: 358.9 kB / 483.3 MB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.3887, allocations: 1.814 MB / 485.1 MB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3888, allocations: 31.38 kB / 485.2 MB, free: 43.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3888, allocations: 4 kB / 485.2 MB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.3888, allocations: 14.62 kB / 485.2 MB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/0.3948, allocations: 4.284 MB / 489.5 MB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.3948, allocations: 12 kB / 489.5 MB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/0.3974, allocations: 1.025 MB / 490.5 MB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.3986, allocations: 471.8 kB / 491 MB, free: 39.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/0.3992, allocations: 312.1 kB / 491.3 MB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.3993, allocations: 77.41 kB / 491.4 MB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4009, allocations: 1.828 MB / 493.2 MB, free: 37.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.4009, allocations: 7.281 kB / 493.2 MB, free: 37.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.4039, allocations: 2.662 MB / 495.8 MB, free: 34.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.4043, allocations: 82.73 kB / 495.9 MB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4053, allocations: 214.3 kB / 496.1 MB, free: 34.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.4057, allocations: 290.4 kB / 496.4 MB, free: 34.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4058, allocations: 74.16 kB / 496.5 MB, free: 34.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.4071, allocations: 1.582 MB / 498.1 MB, free: 32.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4071, allocations: 0 / 498.1 MB, free: 32.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003263/0.4104, allocations: 2.047 MB / 0.4884 GB, free: 31.12 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 (297): * Single equations (assignments): 283 * 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.001333/0.4117, allocations: 0.653 MB / 0.489 GB, free: 30.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005624/0.4173, allocations: 4.476 MB / 0.4934 GB, free: 26.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-05/0.4174, allocations: 66.95 kB / 0.4935 GB, free: 26.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.4187, allocations: 1.073 MB / 0.4945 GB, free: 25.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.4209, allocations: 0.9688 MB / 0.4955 GB, free: 25.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/0.4305, allocations: 7.945 MB / 0.5032 GB, free: 17.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.4311, allocations: 0.7347 MB / 0.5039 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001939/0.433, allocations: 0.6003 MB / 0.5045 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.4343, allocations: 0.7079 MB / 0.5052 GB, free: 15.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4343, allocations: 0 / 0.5052 GB, free: 15.18 MB / 442.7 MB Notification: Performance of Templates: time 0.07521/0.5095, allocations: 60.51 MB / 0.5643 GB, free: 3.285 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412244220264256]