Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.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.0008956/0.0008956, 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.000926/0.000926, allocations: 169 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.7662/0.7662, allocations: 158.6 MB / 186 MB, free: 2.773 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.415/0.415, allocations: 90.86 MB / 329.2 MB, free: 14.23 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,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.SheetI6") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,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.SheetI6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 380.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.699e-05, allocations: 2.312 kB / 380.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01342/0.01343, allocations: 17.08 MB / 397.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02491, allocations: 8.579 MB / 406.5 MB, free: 1.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.02667, allocations: 119.2 kB / 406.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.02835, allocations: 1.268 MB / 407.9 MB, free: 15.92 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.00256/0.03091, allocations: 1.848 MB / 409.7 MB, free: 14.06 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.03513, allocations: 3.883 MB / 413.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.03957, allocations: 6.97 MB / 420.6 MB, free: 3.184 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.04105, allocations: 1.555 MB / 422.1 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.0427, allocations: 2.368 MB / 424.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.04404, allocations: 2.106 MB / 426.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005443/0.04458, allocations: 0.7109 MB / 427.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.04581, allocations: 1.081 MB / 428.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007717/0.04658, allocations: 1.565 MB / 430 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.04763, allocations: 1.838 MB / 431.8 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.05117, allocations: 4.802 MB / 436.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.05117, allocations: 0 / 436.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.05117, allocations: 0 / 436.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.0512, allocations: 0 / 436.6 MB, free: 3.023 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.00745/0.05865, allocations: 6.884 MB / 443.5 MB, free: 12.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.05868, allocations: 8.031 kB / 443.5 MB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.06096, allocations: 1.289 MB / 444.8 MB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.0635, allocations: 2.23 MB / 447 MB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.06393, allocations: 0.9992 MB / 448 MB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.06426, allocations: 379.9 kB / 448.4 MB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/0.0674, allocations: 3.397 MB / 451.8 MB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.06745, allocations: 11.94 kB / 451.8 MB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.06763, allocations: 152 kB / 451.9 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.06768, allocations: 88 kB / 452 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.06919, allocations: 1.076 MB / 453.1 MB, free: 1.852 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.008914/0.07811, allocations: 9.457 MB / 462.6 MB, free: 8.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.08059, allocations: 1.754 MB / 464.3 MB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.08117, allocations: 456.4 kB / 464.8 MB, free: 5.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.08135, allocations: 69.97 kB / 464.8 MB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.08245, allocations: 1.175 MB / 466 MB, free: 4.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 3.817e-06/0.08245, allocations: 0 / 466 MB, free: 4.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.002739/0.08519, allocations: 1.823 MB / 467.8 MB, free: 2.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.08537, allocations: 0.605 MB / 468.4 MB, free: 2.008 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1453/0.2306, allocations: 3.235 MB / 471.7 MB, free: 68.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.2311, allocations: 96.92 kB / 471.8 MB, free: 68.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/0.232, allocations: 1.471 MB / 473.2 MB, free: 68.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006191/0.2326, allocations: 1.048 MB / 474.3 MB, free: 67.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008462/0.2335, allocations: 0.8348 MB / 475.1 MB, free: 67.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.362e-05/0.2335, allocations: 303.2 kB / 475.4 MB, free: 67.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.2347, allocations: 0.753 MB / 476.2 MB, free: 67.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.2362, allocations: 1.889 MB / 478.1 MB, free: 66.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/0.2399, allocations: 3.313 MB / 481.4 MB, free: 65.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.2399, allocations: 3.156 kB / 481.4 MB, free: 65.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.003445/0.2434, allocations: 2.819 MB / 484.2 MB, free: 65.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.2434, allocations: 71.23 kB / 484.3 MB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.2434, allocations: 15.03 kB / 484.3 MB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.2439, allocations: 228.2 kB / 484.5 MB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.2465, allocations: 1.269 MB / 485.8 MB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.2477, allocations: 1.61 MB / 487.4 MB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.2491, allocations: 456.9 kB / 487.8 MB, free: 63.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.2492, allocations: 119.5 kB / 487.9 MB, free: 63.92 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.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/0.251, allocations: 1.06 MB / 489 MB, free: 63.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001339/0.2524, allocations: 1.889 MB / 490.9 MB, free: 62.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003205/0.2556, allocations: 3.276 MB / 494.2 MB, free: 61.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/0.2556, allocations: 3.812 kB / 494.2 MB, free: 61.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization_lambda0): time 0.003125/0.2587, allocations: 2.81 MB / 497 MB, free: 61.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.2587, allocations: 72.72 kB / 497 MB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2588, allocations: 12 kB / 497.1 MB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.2591, allocations: 229 kB / 497.3 MB, free: 61.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.2615, allocations: 1.261 MB / 498.5 MB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.2626, allocations: 1.621 MB / 0.4884 GB, free: 58.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.264, allocations: 431.8 kB / 0.4889 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.2641, allocations: 117.9 kB / 0.489 GB, free: 58.27 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.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.0005418/0.2646, allocations: 0.5943 MB / 0.4895 GB, free: 57.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.265, allocations: 369.5 kB / 0.4899 GB, free: 57.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.2669, allocations: 1.636 MB / 0.4915 GB, free: 56.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2669, allocations: 35.42 kB / 0.4915 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2669, allocations: 7.031 kB / 0.4915 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.2669, allocations: 22.11 kB / 0.4916 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.2712, allocations: 3.99 MB / 0.4955 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2712, allocations: 7.938 kB / 0.4955 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/0.2734, allocations: 0.9055 MB / 0.4963 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.2738, allocations: 209.1 kB / 0.4965 GB, free: 52.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.2739, allocations: 82.45 kB / 0.4966 GB, free: 52.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.2749, allocations: 1.598 MB / 0.4982 GB, free: 50.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2749, allocations: 7.469 kB / 0.4982 GB, free: 50.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.2773, allocations: 2.494 MB / 0.5006 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.2781, allocations: 0.4889 MB / 0.5011 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/0.2785, allocations: 92.73 kB / 0.5012 GB, free: 47.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/0.2794, allocations: 193.2 kB / 0.5014 GB, free: 47.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.2797, allocations: 284.4 kB / 0.5016 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.2798, allocations: 77.95 kB / 0.5017 GB, free: 47.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.281, allocations: 1.721 MB / 0.5034 GB, free: 46.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.281, allocations: 0 / 0.5034 GB, free: 46.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002384/0.2834, allocations: 2.003 MB / 0.5054 GB, free: 44.22 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.001861/0.2852, allocations: 1.061 MB / 0.5064 GB, free: 43.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.2896, allocations: 4.188 MB / 0.5105 GB, free: 40.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.827e-05/0.2896, allocations: 44.5 kB / 0.5105 GB, free: 40.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009445/0.2905, allocations: 1.001 MB / 0.5115 GB, free: 39.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.2922, allocations: 0.7886 MB / 0.5123 GB, free: 38.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/0.2997, allocations: 7.869 MB / 0.52 GB, free: 30.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3002, allocations: 0.7584 MB / 0.5207 GB, free: 30.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001521/0.3017, allocations: 0.6287 MB / 0.5213 GB, free: 29.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.303, allocations: 0.7469 MB / 0.522 GB, free: 28.66 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.303, allocations: 0 / 0.522 GB, free: 28.66 MB / 442.7 MB Notification: Performance of Templates: time 0.06126/0.3643, allocations: 58.36 MB / 0.579 GB, free: 2.836 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_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.093190467916429]