Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.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.001779/0.001779, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.00215/0.00215, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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 1.554/1.554, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.6786/0.6786, allocations: 90.63 MB / 328.3 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 179] 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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.HvMeasurements.PPuSnRef|PV.HvMeasurements.QPuSnRef|PV.HvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 433 MB, free: 6.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.008e-05, allocations: 2.312 kB / 433 MB, free: 6.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.02146/0.02149, allocations: 13.97 MB / 447 MB, free: 8.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.03704, allocations: 6.721 MB / 453.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.04065, allocations: 99.38 kB / 453.8 MB, free: 1.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.04396, allocations: 0.7898 MB / 454.6 MB, free: 0.5586 MB / 426.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.007185/0.05114, allocations: 1.584 MB / 456.2 MB, free: 14.96 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation PV.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation PV.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:130:3-130:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007689/0.05883, allocations: 2.897 MB / 459.1 MB, free: 12.06 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009397/0.06823, allocations: 5.464 MB / 464.5 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003978/0.07221, allocations: 1.262 MB / 465.8 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.07621, allocations: 1.858 MB / 467.7 MB, free: 3.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.07928, allocations: 1.627 MB / 469.3 MB, free: 1.754 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001576/0.08086, allocations: 0.5781 MB / 469.9 MB, free: 1.176 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.08317, allocations: 0.9058 MB / 470.8 MB, free: 276 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1717/0.2549, allocations: 1.173 MB / 472 MB, free: 59.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.2574, allocations: 1.477 MB / 473.4 MB, free: 59.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.2642, allocations: 7.274 MB / 480.7 MB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2642, allocations: 0 / 480.7 MB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2642, allocations: 4.219 kB / 480.7 MB, free: 59.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.2643, allocations: 3.375 kB / 480.7 MB, free: 59.56 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 756 * Number of variables: 756 Notification: Performance of Generate backend data structure: time 0.01683/0.2812, allocations: 5.996 MB / 486.7 MB, free: 57.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2812, allocations: 8.531 kB / 486.7 MB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.2882, allocations: 1.643 MB / 488.4 MB, free: 57.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004894/0.2931, allocations: 2.762 MB / 491.1 MB, free: 56.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004819/0.2935, allocations: 0.9889 MB / 492.1 MB, free: 55.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006088/0.2942, allocations: 317.6 kB / 492.4 MB, free: 55.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006545/0.3007, allocations: 4.107 MB / 496.5 MB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.3008, allocations: 6.406 kB / 496.5 MB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.3011, allocations: 128.8 kB / 496.7 MB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.3011, allocations: 71.88 kB / 496.7 MB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/0.3074, allocations: 3.18 MB / 499.9 MB, free: 52.02 MB / 442.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.01923/0.3266, allocations: 10.78 MB / 0.4987 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.3335, allocations: 3.047 MB / 0.5017 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.3362, allocations: 1.274 MB / 0.5029 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.3364, allocations: 59.47 kB / 0.503 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003383/0.3398, allocations: 1.828 MB / 0.5048 GB, free: 43.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.129e-06/0.3398, allocations: 0 / 0.5048 GB, free: 43.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=253): time 0.01452/0.3543, allocations: 5.232 MB / 0.5099 GB, free: 41.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3545, allocations: 0.5214 MB / 0.5104 GB, free: 40.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.3593, allocations: 2.931 MB / 0.5133 GB, free: 39.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007116/0.36, allocations: 87.17 kB / 0.5133 GB, free: 39.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.3612, allocations: 1.572 MB / 0.5149 GB, free: 38.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009113/0.3621, allocations: 0.9002 MB / 0.5158 GB, free: 37.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.3633, allocations: 0.7581 MB / 0.5165 GB, free: 37.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.3634, allocations: 304.9 kB / 0.5168 GB, free: 36.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.3665, allocations: 1.74 MB / 0.5185 GB, free: 35.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.37, allocations: 2.739 MB / 0.5212 GB, free: 33.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02765/0.3977, allocations: 9.127 MB / 0.5301 GB, free: 27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/0.3977, allocations: 4 kB / 0.5301 GB, free: 27 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.012/0.4097, allocations: 5.428 MB / 0.5354 GB, free: 21.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.4098, allocations: 69.66 kB / 0.5355 GB, free: 21.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.4098, allocations: 12 kB / 0.5355 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.4116, allocations: 0.6193 MB / 0.5361 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/0.4154, allocations: 0.8316 MB / 0.5369 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006229/0.4216, allocations: 3.943 MB / 0.5407 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/0.4254, allocations: 413.9 kB / 0.5411 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005618/0.426, allocations: 140 kB / 0.5413 GB, free: 15.57 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004956/0.4309, allocations: 2.421 MB / 0.5436 GB, free: 13.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003609/0.4345, allocations: 2.682 MB / 0.5462 GB, free: 10.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02884/0.4634, allocations: 8.981 MB / 0.555 GB, free: 1.078 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.259e-05/0.4634, allocations: 8 kB / 0.555 GB, free: 1.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.01658/0.48, allocations: 5.316 MB / 0.5602 GB, free: 11.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.4801, allocations: 69.66 kB / 0.5603 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.4801, allocations: 8 kB / 0.5603 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.4823, allocations: 0.6382 MB / 0.5609 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/0.487, allocations: 0.8085 MB / 0.5617 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008721/0.4957, allocations: 3.923 MB / 0.5655 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/0.5005, allocations: 395.8 kB / 0.5659 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/0.5017, allocations: 140 kB / 0.566 GB, free: 5.789 MB / 458.7 MB Warning: Assuming fixed start value for the following 36 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.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: 44 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition10,$whenCondition9,$whenCondition11,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3,PV.injector.switchOffSignal2,PV.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.PV.HvTfo.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running,$PRE.PV.LvTfo.running,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.LvTfo.running,PV.source.running,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,PV.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (489): * Single equations (assignments): 487 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002111/0.5038, allocations: 0.5692 MB / 0.5666 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/0.5059, allocations: 429.8 kB / 0.567 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5175, allocations: 3.715 MB / 0.5706 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.5175, allocations: 27.98 kB / 0.5707 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.5176, allocations: 8 kB / 0.5707 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.5176, allocations: 11.95 kB / 0.5707 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/0.5402, allocations: 7.43 MB / 0.5779 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.5403, allocations: 4 kB / 0.5779 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00355/0.5438, allocations: 0.4944 MB / 0.5784 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.5459, allocations: 0.6058 MB / 0.579 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005903/0.5465, allocations: 71.97 kB / 0.5791 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008677/0.5552, allocations: 3.924 MB / 0.5829 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.5552, allocations: 15.47 kB / 0.5829 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.573, allocations: 6.03 MB / 0.5888 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003055/0.576, allocations: 0.7538 MB / 0.5896 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/0.5772, allocations: 67.98 kB / 0.5896 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/0.5803, allocations: 199.8 kB / 0.5898 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007366/0.581, allocations: 213.4 kB / 0.59 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/0.5814, allocations: 83.97 kB / 0.5901 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004724/0.5861, allocations: 1.875 MB / 0.5919 GB, free: 11.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5861, allocations: 0 / 0.5919 GB, free: 11.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007471/0.5936, allocations: 1.77 MB / 0.5937 GB, free: 9.398 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 23 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.source.running,PV.source.state,PV.LvTfo.running,PV.LvTfo.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.LvTfo.running,PV.source.running,PV.HvTfo.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/0.5961, allocations: 0.5238 MB / 0.5942 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02147/0.6175, allocations: 6.778 MB / 0.6008 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/0.6176, allocations: 8 kB / 0.6008 GB, free: 2.379 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006415/0.624, allocations: 2.012 MB / 0.6028 GB, free: 420 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/0.6286, allocations: 0.5946 MB / 0.6033 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.6465, allocations: 6.995 MB / 0.6102 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/0.6492, allocations: 1.482 MB / 0.6116 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003063/0.6522, allocations: 453.5 kB / 0.612 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009834/0.6532, allocations: 212.5 kB / 0.6123 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/0.6532, allocations: 0 / 0.6123 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of Templates: time 0.09804/0.7512, allocations: 48.55 MB / 0.6597 GB, free: 6.406 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.221277134027332]