Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.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.001089/0.001089, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002592, 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.001059/0.001059, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002371, 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.9031/0.9031, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1434/1.046, allocations: 49.5 MB / 220.5 MB, free: 1.445 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.4851/0.4851, allocations: 100.5 MB / 321.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06221/0.5473, allocations: 35.68 MB / 357.5 MB, free: 1.316 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,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.SheetI7QMin") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,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.SheetI7QMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.697e-05, allocations: 2.312 kB / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.01479/0.01481, allocations: 17.4 MB / 376.4 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.02818, allocations: 8.699 MB / 385.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.03116, allocations: 115.2 kB / 385.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.03382, allocations: 1.311 MB / 386.6 MB, free: 4.152 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.003895/0.03771, allocations: 2.023 MB / 388.6 MB, free: 2.117 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.005045/0.04276, allocations: 3.763 MB / 392.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005749/0.04851, allocations: 6.898 MB / 399.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.05036, allocations: 1.555 MB / 400.8 MB, free: 5.789 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.05458, allocations: 4.592 MB / 405.4 MB, free: 1.113 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.0563, allocations: 2.133 MB / 407.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.05702, allocations: 0.7109 MB / 408.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.0583, allocations: 1.117 MB / 409.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000735/0.05903, allocations: 1.219 MB / 410.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.06021, allocations: 1.465 MB / 412 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.06438, allocations: 4.483 MB / 416.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.0644, allocations: 0 / 416.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0644, allocations: 0 / 416.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.686e-05/0.06448, allocations: 4 kB / 416.5 MB, free: 5.949 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.009013/0.07349, allocations: 7.98 MB / 424.5 MB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.07352, allocations: 8.031 kB / 424.5 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.07702, allocations: 1.644 MB / 426.2 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.07993, allocations: 2.244 MB / 428.4 MB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004551/0.08038, allocations: 0.9915 MB / 429.4 MB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.08072, allocations: 379.9 kB / 429.8 MB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.08389, allocations: 3.441 MB / 433.2 MB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.08394, allocations: 3.938 kB / 433.2 MB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.08412, allocations: 156 kB / 433.4 MB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.08417, allocations: 88 kB / 433.5 MB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.08578, allocations: 1.092 MB / 434.5 MB, free: 3.246 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.009502/0.09528, allocations: 9.598 MB / 444.1 MB, free: 9.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.09746, allocations: 1.782 MB / 445.9 MB, free: 7.598 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.09802, allocations: 476.4 kB / 446.4 MB, free: 7.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.0982, allocations: 73.95 kB / 446.5 MB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.09934, allocations: 1.189 MB / 447.6 MB, free: 5.801 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 3.877e-06/0.09934, allocations: 0 / 447.6 MB, free: 5.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=298): time 0.002713/0.1021, allocations: 1.853 MB / 449.5 MB, free: 3.906 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.1021, allocations: 152.9 kB / 449.7 MB, free: 3.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.1045, allocations: 3.275 MB / 452.9 MB, free: 448 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.1046, allocations: 97.69 kB / 453 MB, free: 344 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1764/0.281, allocations: 1.47 MB / 454.5 MB, free: 53.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009734/0.282, allocations: 1.071 MB / 455.6 MB, free: 53.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009492/0.283, allocations: 0.8489 MB / 456.4 MB, free: 52.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.511e-05/0.283, allocations: 311.8 kB / 456.7 MB, free: 52.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.2847, allocations: 0.7932 MB / 457.5 MB, free: 52.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.2867, allocations: 1.939 MB / 459.4 MB, free: 51.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/0.2907, allocations: 3.439 MB / 462.9 MB, free: 50.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.2907, allocations: 4.438 kB / 462.9 MB, free: 50.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.003599/0.2943, allocations: 2.927 MB / 465.8 MB, free: 50.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.2944, allocations: 73.27 kB / 465.9 MB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.2944, allocations: 12.59 kB / 465.9 MB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.2949, allocations: 237.9 kB / 466.1 MB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/0.2981, allocations: 1.453 MB / 467.6 MB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.2998, allocations: 1.627 MB / 469.2 MB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.3014, allocations: 462.6 kB / 469.7 MB, free: 49.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.3016, allocations: 121.6 kB / 469.8 MB, free: 49.05 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.001872/0.3035, allocations: 1.113 MB / 470.9 MB, free: 48.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/0.3048, allocations: 1.936 MB / 472.8 MB, free: 47.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00338/0.3082, allocations: 3.406 MB / 476.2 MB, free: 46.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/0.3082, allocations: 3.969 kB / 476.2 MB, free: 46.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.003364/0.3116, allocations: 2.925 MB / 479.2 MB, free: 46.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.3116, allocations: 67.17 kB / 479.2 MB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3116, allocations: 11.5 kB / 479.2 MB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.312, allocations: 227.7 kB / 479.5 MB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.3148, allocations: 1.442 MB / 480.9 MB, free: 46.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3159, allocations: 1.641 MB / 482.6 MB, free: 44.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3173, allocations: 435.8 kB / 483 MB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.3175, allocations: 116.5 kB / 483.1 MB, free: 44.48 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.0005406/0.318, allocations: 0.5903 MB / 483.7 MB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.3184, allocations: 372.5 kB / 484 MB, free: 43.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.3203, allocations: 1.683 MB / 485.7 MB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3203, allocations: 32 kB / 485.8 MB, free: 42.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.3203, allocations: 4 kB / 485.8 MB, free: 42.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.3203, allocations: 18.67 kB / 485.8 MB, free: 42.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.325, allocations: 4.151 MB / 489.9 MB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.325, allocations: 4 kB / 489.9 MB, free: 40.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/0.3276, allocations: 1.018 MB / 491 MB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.3283, allocations: 0.4913 MB / 491.4 MB, free: 38.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.3287, allocations: 217.8 kB / 491.7 MB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.3288, allocations: 71.34 kB / 491.7 MB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.3298, allocations: 1.607 MB / 493.3 MB, free: 36.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3298, allocations: 7.375 kB / 493.3 MB, free: 36.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.3322, allocations: 2.54 MB / 495.9 MB, free: 34.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.3325, allocations: 91.98 kB / 496 MB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009256/0.3334, allocations: 197.2 kB / 496.2 MB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.3337, allocations: 286.8 kB / 496.4 MB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.3338, allocations: 78.95 kB / 496.5 MB, free: 33.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.3349, allocations: 1.736 MB / 498.3 MB, free: 32.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3349, allocations: 0 / 498.3 MB, free: 32.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002236/0.3372, allocations: 2.068 MB / 0.4886 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.002124/0.3393, allocations: 1.148 MB / 0.4897 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004186/0.3435, allocations: 4.328 MB / 0.4939 GB, free: 26.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.248e-05/0.3435, allocations: 70.12 kB / 0.494 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.3445, allocations: 1.016 MB / 0.495 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.001683/0.3462, allocations: 1.048 MB / 0.496 GB, free: 24.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.3545, allocations: 8.226 MB / 0.5041 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3549, allocations: 0.7808 MB / 0.5048 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.3566, allocations: 0.6333 MB / 0.5054 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.3579, allocations: 0.7509 MB / 0.5062 GB, free: 14.38 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3579, allocations: 0 / 0.5062 GB, free: 14.38 MB / 442.7 MB Notification: Performance of Templates: time 0.06767/0.4256, allocations: 60.58 MB / 0.5653 GB, free: 2.371 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin -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.SheetI7QMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_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.32841317448765]