Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.0009958/0.0009958, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001013/0.001013, allocations: 173 kB / 24.17 MB, free: 332 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.9614/0.9614, allocations: 158.6 MB / 186 MB, free: 2.758 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.4637/0.4637, allocations: 90.85 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 179] 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.SheetI7QMax,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.SheetI7QMax") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,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.SheetI7QMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 380.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.683e-05, allocations: 2.312 kB / 380.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01493/0.01495, allocations: 17.16 MB / 398 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.02856, allocations: 8.576 MB / 406.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.03104, allocations: 115.2 kB / 406.7 MB, free: 1.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.03285, allocations: 1.291 MB / 408 MB, free: 15.8 MB / 394.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.002722/0.03557, allocations: 1.844 MB / 409.8 MB, free: 13.95 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.004845/0.04042, allocations: 3.875 MB / 413.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.04661, allocations: 6.986 MB / 420.7 MB, free: 3.059 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.04883, allocations: 1.548 MB / 422.3 MB, free: 1.422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.0514, allocations: 2.376 MB / 424.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.05301, allocations: 2.106 MB / 426.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008176/0.05383, allocations: 0.707 MB / 427.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.05495, allocations: 1.097 MB / 428.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007813/0.05573, allocations: 1.576 MB / 430.1 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.05683, allocations: 1.838 MB / 432 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.06094, allocations: 4.814 MB / 436.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.06094, allocations: 0 / 436.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06094, allocations: 0 / 436.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.06098, allocations: 0 / 436.8 MB, free: 2.863 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.008348/0.06932, allocations: 6.904 MB / 443.7 MB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.06936, allocations: 12.03 kB / 443.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.07177, allocations: 1.289 MB / 445 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.07421, allocations: 2.254 MB / 447.2 MB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/0.07466, allocations: 0.9836 MB / 448.2 MB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.07497, allocations: 379.9 kB / 448.6 MB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.08218, allocations: 3.409 MB / 452 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.954e-05/0.08224, allocations: 3.938 kB / 452 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.08247, allocations: 152 kB / 452.1 MB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.08253, allocations: 88 kB / 452.2 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.08761, allocations: 1.072 MB / 453.3 MB, free: 1.664 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.02418/0.1118, allocations: 9.454 MB / 462.8 MB, free: 7.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.1179, allocations: 1.763 MB / 464.5 MB, free: 6.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.1187, allocations: 450.3 kB / 465 MB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.1189, allocations: 65.97 kB / 465 MB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004924/0.1238, allocations: 1.179 MB / 466.2 MB, free: 4.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 5.22e-06/0.1238, allocations: 3.938 kB / 466.2 MB, free: 4.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.006734/0.1306, allocations: 1.817 MB / 468 MB, free: 2.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/0.1308, allocations: 0.605 MB / 468.6 MB, free: 1.824 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.178/0.3088, allocations: 3.267 MB / 471.9 MB, free: 68.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000504/0.3093, allocations: 98.47 kB / 472 MB, free: 68.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.3103, allocations: 1.476 MB / 473.5 MB, free: 68.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/0.311, allocations: 1.05 MB / 474.5 MB, free: 67.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/0.3118, allocations: 0.8336 MB / 475.3 MB, free: 67.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.648e-05/0.3118, allocations: 305.8 kB / 475.6 MB, free: 67.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.3131, allocations: 0.7516 MB / 476.4 MB, free: 67.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3146, allocations: 1.901 MB / 478.3 MB, free: 66.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.3181, allocations: 3.295 MB / 481.6 MB, free: 65.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.3181, allocations: 4.094 kB / 481.6 MB, free: 65.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.003406/0.3215, allocations: 2.829 MB / 484.4 MB, free: 65.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.3216, allocations: 78.2 kB / 484.5 MB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3216, allocations: 9.375 kB / 484.5 MB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.322, allocations: 222 kB / 484.7 MB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.3249, allocations: 1.364 MB / 486.1 MB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3261, allocations: 1.619 MB / 487.7 MB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3274, allocations: 455.7 kB / 488.2 MB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.3275, allocations: 116.9 kB / 488.3 MB, free: 63.9 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 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) 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.001688/0.3292, allocations: 1.065 MB / 489.3 MB, free: 63.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/0.3306, allocations: 1.89 MB / 491.2 MB, free: 62.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0032/0.3338, allocations: 3.273 MB / 494.5 MB, free: 61.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.081e-05/0.3338, allocations: 3.594 kB / 494.5 MB, free: 61.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization_lambda0): time 0.003158/0.3369, allocations: 2.819 MB / 497.3 MB, free: 60.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.337, allocations: 67.88 kB / 497.4 MB, free: 60.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.337, allocations: 12 kB / 497.4 MB, free: 60.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.3374, allocations: 228.1 kB / 497.6 MB, free: 60.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.3401, allocations: 1.358 MB / 499 MB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.3412, allocations: 1.625 MB / 0.4889 GB, free: 58.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3423, allocations: 431.6 kB / 0.4893 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.3425, allocations: 122.4 kB / 0.4894 GB, free: 57.79 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 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) 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: 54 * Number of states: 0 () * Number of discrete variables: 81 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,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,$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,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 550 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000503/0.343, allocations: 0.5894 MB / 0.49 GB, free: 57.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.3433, allocations: 370.2 kB / 0.4903 GB, free: 57.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3453, allocations: 1.648 MB / 0.4919 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3453, allocations: 28 kB / 0.492 GB, free: 56.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3453, allocations: 4 kB / 0.492 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.3453, allocations: 14.11 kB / 0.492 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.3496, allocations: 4.004 MB / 0.4959 GB, free: 52.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3496, allocations: 7.938 kB / 0.4959 GB, free: 52.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.352, allocations: 0.9674 MB / 0.4968 GB, free: 51.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/0.3524, allocations: 210.9 kB / 0.497 GB, free: 51.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.3525, allocations: 79.14 kB / 0.4971 GB, free: 51.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3536, allocations: 1.598 MB / 0.4987 GB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3536, allocations: 8 kB / 0.4987 GB, free: 50.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.356, allocations: 2.494 MB / 0.5011 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/0.3568, allocations: 0.4937 MB / 0.5016 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.3571, allocations: 87.73 kB / 0.5017 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/0.358, allocations: 202.3 kB / 0.5019 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.3583, allocations: 287.9 kB / 0.5022 GB, free: 46.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.3584, allocations: 73.03 kB / 0.5022 GB, free: 46.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.3595, allocations: 1.74 MB / 0.5039 GB, free: 45.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3595, allocations: 0 / 0.5039 GB, free: 45.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002283/0.3618, allocations: 2.006 MB / 0.5059 GB, free: 43.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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: 44 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,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,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 15 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,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 (293): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001819/0.3636, allocations: 1.051 MB / 0.5069 GB, free: 43.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.3679, allocations: 4.199 MB / 0.511 GB, free: 39.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.814e-05/0.3679, allocations: 44.5 kB / 0.5111 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000951/0.3689, allocations: 0.9878 MB / 0.512 GB, free: 38.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.3705, allocations: 0.8014 MB / 0.5128 GB, free: 38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007728/0.3783, allocations: 7.903 MB / 0.5205 GB, free: 30.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3787, allocations: 0.7587 MB / 0.5213 GB, free: 29.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00161/0.3803, allocations: 0.6287 MB / 0.5219 GB, free: 28.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.3817, allocations: 0.743 MB / 0.5226 GB, free: 27.98 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3817, allocations: 3.828 kB / 0.5226 GB, free: 27.98 MB / 442.7 MB Notification: Performance of Templates: time 0.06391/0.4456, allocations: 58.47 MB / 0.5797 GB, free: 2.055 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax -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.SheetI7QMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.479702603071928]