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.001348/0.001348, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002085/0.003433, 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.001423/0.001423, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.003119, 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.9954/0.9954, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/1.144, allocations: 49.5 MB / 220.5 MB, free: 1.453 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.4671/0.4671, allocations: 100.5 MB / 321.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06062/0.5277, allocations: 35.69 MB / 357.5 MB, free: 1.312 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.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.333e-06/1.333e-06, allocations: 0 / 359 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.296e-05, allocations: 2.312 kB / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.02278/0.02281, allocations: 17.41 MB / 376.4 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.04275, allocations: 8.692 MB / 385.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006576/0.04932, allocations: 119.2 kB / 385.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.05355, allocations: 1.295 MB / 386.5 MB, free: 4.172 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.007362/0.06091, allocations: 2.003 MB / 388.5 MB, free: 2.156 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.006991/0.0679, allocations: 3.77 MB / 392.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008824/0.07672, allocations: 6.886 MB / 399.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.08024, allocations: 1.562 MB / 400.8 MB, free: 5.824 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007825/0.08806, allocations: 4.589 MB / 405.4 MB, free: 1.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.09127, allocations: 2.13 MB / 407.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.09283, allocations: 0.7109 MB / 408.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.09518, allocations: 1.109 MB / 409.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.09645, allocations: 1.211 MB / 410.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.09893, allocations: 1.465 MB / 412 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007534/0.1065, allocations: 4.475 MB / 416.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.079e-05/0.1065, allocations: 0 / 416.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1065, allocations: 0 / 416.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.1066, allocations: 0 / 416.5 MB, free: 6.02 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: 906 * Number of variables: 906 Notification: Performance of Generate backend data structure: time 0.01183/0.1185, allocations: 7.96 MB / 424.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1185, allocations: 8.031 kB / 424.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/0.1227, allocations: 1.64 MB / 426.1 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.1267, allocations: 2.24 MB / 428.3 MB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005768/0.1273, allocations: 0.9993 MB / 429.3 MB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.1279, allocations: 375.9 kB / 429.7 MB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.1325, allocations: 3.433 MB / 433.1 MB, free: 4.703 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.1325, allocations: 11.92 kB / 433.1 MB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.1328, allocations: 160 kB / 433.3 MB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.1328, allocations: 88 kB / 433.4 MB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1349, allocations: 1.088 MB / 434.4 MB, free: 3.34 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.01336/0.1482, allocations: 9.583 MB / 444 MB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.1508, allocations: 1.786 MB / 445.8 MB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006544/0.1514, allocations: 480.3 kB / 446.3 MB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.1516, allocations: 65.98 kB / 446.3 MB, free: 7.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.153, allocations: 1.189 MB / 447.5 MB, free: 5.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 5.481e-06/0.153, allocations: 0 / 447.5 MB, free: 5.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=298): time 0.003332/0.1563, allocations: 1.865 MB / 449.4 MB, free: 4.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.1564, allocations: 141 kB / 449.5 MB, free: 3.844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.1595, allocations: 3.253 MB / 452.8 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.1597, allocations: 105.6 kB / 452.9 MB, free: 472 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1881/0.3478, allocations: 1.463 MB / 454.4 MB, free: 53.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/0.3492, allocations: 1.077 MB / 455.4 MB, free: 52.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.3502, allocations: 0.847 MB / 456.3 MB, free: 52.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.742e-05/0.3502, allocations: 302.6 kB / 456.6 MB, free: 52.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3516, allocations: 0.8014 MB / 457.4 MB, free: 52.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.3532, allocations: 1.944 MB / 459.3 MB, free: 51.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/0.3576, allocations: 3.431 MB / 462.8 MB, free: 50.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.3576, allocations: 3.562 kB / 462.8 MB, free: 50.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.003969/0.3616, allocations: 2.933 MB / 465.7 MB, free: 50.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.3616, allocations: 65.75 kB / 465.8 MB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.3616, allocations: 12.88 kB / 465.8 MB, free: 50.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.3621, allocations: 232.6 kB / 466 MB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/0.3651, allocations: 1.458 MB / 467.5 MB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3664, allocations: 1.638 MB / 469.1 MB, free: 49.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.3684, allocations: 454.2 kB / 469.5 MB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.3686, allocations: 121.2 kB / 469.7 MB, free: 48.96 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.002446/0.3711, allocations: 1.109 MB / 470.8 MB, free: 48.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001445/0.3725, allocations: 1.937 MB / 472.7 MB, free: 47.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003549/0.3761, allocations: 3.403 MB / 476.1 MB, free: 46.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.469e-05/0.3761, allocations: 3.969 kB / 476.1 MB, free: 46.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.003668/0.3797, allocations: 2.93 MB / 479 MB, free: 46.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.3798, allocations: 67.58 kB / 479.1 MB, free: 46.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.3798, allocations: 13.64 kB / 479.1 MB, free: 46.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.3802, allocations: 221.5 kB / 479.3 MB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.3832, allocations: 1.458 MB / 480.8 MB, free: 46.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3844, allocations: 1.628 MB / 482.4 MB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.3862, allocations: 442.3 kB / 482.8 MB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.3864, allocations: 120.9 kB / 483 MB, free: 44.4 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.switchOffSignal1,Unit.switchOffSignal2,Unit.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 (564): * Single equations (assignments): 562 * 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.0007334/0.3871, allocations: 0.5837 MB / 483.5 MB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/0.3876, allocations: 371.6 kB / 483.9 MB, free: 43.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.3896, allocations: 1.677 MB / 485.6 MB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3897, allocations: 32 kB / 485.6 MB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3897, allocations: 4 kB / 485.6 MB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.3897, allocations: 14.44 kB / 485.6 MB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.3947, allocations: 4.152 MB / 489.8 MB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3947, allocations: 8 kB / 489.8 MB, free: 40.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.3972, allocations: 1.021 MB / 490.8 MB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/0.3982, allocations: 494.9 kB / 491.3 MB, free: 38.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.3985, allocations: 211 kB / 491.5 MB, free: 38.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3987, allocations: 76.95 kB / 491.6 MB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.3998, allocations: 1.602 MB / 493.2 MB, free: 36.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/0.3998, allocations: 11.56 kB / 493.2 MB, free: 36.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.4024, allocations: 2.535 MB / 495.7 MB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/0.4028, allocations: 86.11 kB / 495.8 MB, free: 34.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/0.4038, allocations: 200.9 kB / 496 MB, free: 34.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.4041, allocations: 291.1 kB / 496.3 MB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4042, allocations: 74.09 kB / 496.4 MB, free: 33.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.4055, allocations: 1.727 MB / 498.1 MB, free: 32.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4055, allocations: 0 / 498.1 MB, free: 32.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00273/0.4082, allocations: 2.062 MB / 0.4884 GB, free: 30.59 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 (299): * Single equations (assignments): 281 * 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.0022/0.4104, allocations: 1.147 MB / 0.4896 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.4153, allocations: 4.335 MB / 0.4938 GB, free: 26.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.229e-05/0.4154, allocations: 70.31 kB / 0.4939 GB, free: 26.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4165, allocations: 1.008 MB / 0.4948 GB, free: 25.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.4187, allocations: 1.047 MB / 0.4959 GB, free: 24.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.4284, allocations: 8.192 MB / 0.5039 GB, free: 16.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.429, allocations: 0.7688 MB / 0.5046 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002203/0.4312, allocations: 0.6409 MB / 0.5052 GB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/0.4326, allocations: 0.7509 MB / 0.506 GB, free: 14.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4326, allocations: 0 / 0.506 GB, free: 14.46 MB / 442.7 MB Notification: Performance of Templates: time 0.07335/0.506, allocations: 60.46 MB / 0.565 GB, free: 2.57 MB / 490.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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.361059847287834]