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.00144/0.00144, allocations: 91.55 kB / 20.97 MB, free: 3.574 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.001741/0.001741, allocations: 173 kB / 24.27 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9511/0.9511, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4546/0.4546, allocations: 90.56 MB / 328.9 MB, free: 14.72 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 1.943e-06/1.943e-06, allocations: 0 / 433.7 MB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.143e-05, allocations: 2.312 kB / 433.7 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.02236/0.02239, allocations: 14.84 MB / 448.5 MB, free: 7.438 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.03348, allocations: 6.811 MB / 455.3 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.03654, allocations: 99.38 kB / 455.4 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.03875, allocations: 0.7898 MB / 456.2 MB, free: 15.71 MB / 442.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.004302/0.04305, allocations: 1.588 MB / 457.8 MB, free: 14.11 MB / 442.7 MB [/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.005073/0.04812, allocations: 2.901 MB / 460.7 MB, free: 11.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006732/0.05485, allocations: 5.457 MB / 466.2 MB, free: 5.734 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.05726, allocations: 1.266 MB / 467.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.05979, allocations: 1.854 MB / 469.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.06176, allocations: 1.635 MB / 470.9 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009336/0.06269, allocations: 0.5781 MB / 471.5 MB, free: 328 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1897/0.2524, allocations: 0.9046 MB / 472.4 MB, free: 59.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.2539, allocations: 1.171 MB / 473.6 MB, free: 59.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.2566, allocations: 1.475 MB / 475 MB, free: 59.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.2621, allocations: 3.845 MB / 478.9 MB, free: 59.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2621, allocations: 0 / 478.9 MB, free: 59.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2621, allocations: 3.25 kB / 478.9 MB, free: 59.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.2623, allocations: 0 / 478.9 MB, free: 59.01 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.01111/0.2734, allocations: 6.061 MB / 484.9 MB, free: 56.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2734, allocations: 13.48 kB / 485 MB, free: 56.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.278, allocations: 1.649 MB / 486.6 MB, free: 56.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.2837, allocations: 2.635 MB / 489.2 MB, free: 55.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004464/0.2841, allocations: 0.8789 MB / 490.1 MB, free: 55.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.2848, allocations: 318.8 kB / 490.4 MB, free: 55.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.2896, allocations: 3.073 MB / 493.5 MB, free: 53.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-05/0.2897, allocations: 6.312 kB / 493.5 MB, free: 53.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.29, allocations: 125.6 kB / 493.6 MB, free: 53.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-05/0.29, allocations: 77.31 kB / 493.7 MB, free: 53.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.2929, allocations: 1.356 MB / 495.1 MB, free: 53.7 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.01265/0.3055, allocations: 11.09 MB / 0.4943 GB, free: 46.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.3084, allocations: 1.552 MB / 0.4958 GB, free: 46.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/0.3094, allocations: 0.5496 MB / 0.4963 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3096, allocations: 54.58 kB / 0.4964 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.3113, allocations: 1.09 MB / 0.4975 GB, free: 45.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 9.397e-06/0.3113, allocations: 0 / 0.4975 GB, free: 45.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=253): time 0.007763/0.3191, allocations: 3.011 MB / 0.5004 GB, free: 45.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.3192, allocations: 0.5195 MB / 0.5009 GB, free: 44.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.3233, allocations: 2.513 MB / 0.5034 GB, free: 43.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.3238, allocations: 85.53 kB / 0.5034 GB, free: 43.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.325, allocations: 1.628 MB / 0.505 GB, free: 42.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009948/0.326, allocations: 0.9136 MB / 0.5059 GB, free: 41.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.3273, allocations: 0.7864 MB / 0.5067 GB, free: 41.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.3273, allocations: 482.6 kB / 0.5072 GB, free: 40.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.329, allocations: 0.8263 MB / 0.508 GB, free: 40.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.331, allocations: 1.972 MB / 0.5099 GB, free: 39.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.3357, allocations: 3.376 MB / 0.5132 GB, free: 37.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.3357, allocations: 6.156 kB / 0.5132 GB, free: 37.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005966/0.3417, allocations: 3.596 MB / 0.5167 GB, free: 36.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.3418, allocations: 65.77 kB / 0.5168 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3418, allocations: 10.97 kB / 0.5168 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.3429, allocations: 490.1 kB / 0.5172 GB, free: 36.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.3449, allocations: 0.795 MB / 0.518 GB, free: 36.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.3483, allocations: 2.978 MB / 0.5209 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.3507, allocations: 368.7 kB / 0.5213 GB, free: 33.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.3509, allocations: 141.8 kB / 0.5214 GB, free: 33.96 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.002568/0.3535, allocations: 1.171 MB / 0.5226 GB, free: 33.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/0.3552, allocations: 1.956 MB / 0.5245 GB, free: 32.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004083/0.3593, allocations: 3.366 MB / 0.5278 GB, free: 28.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.414e-05/0.3593, allocations: 4 kB / 0.5278 GB, free: 28.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.005914/0.3652, allocations: 3.579 MB / 0.5313 GB, free: 25.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.3653, allocations: 76.67 kB / 0.5313 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3653, allocations: 8 kB / 0.5313 GB, free: 25.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.3663, allocations: 490.8 kB / 0.5318 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.3684, allocations: 0.7789 MB / 0.5326 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.3717, allocations: 2.961 MB / 0.5355 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.3743, allocations: 363.9 kB / 0.5358 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.3746, allocations: 136 kB / 0.5359 GB, free: 21.24 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: 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.0009753/0.3756, allocations: 0.6481 MB / 0.5366 GB, free: 20.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008816/0.3765, allocations: 433.2 kB / 0.537 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.3802, allocations: 2.22 MB / 0.5391 GB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3802, allocations: 31.98 kB / 0.5392 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.3802, allocations: 4 kB / 0.5392 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.3803, allocations: 15.95 kB / 0.5392 GB, free: 17.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/0.389, allocations: 5.56 MB / 0.5446 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.389, allocations: 8.031 kB / 0.5446 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.3906, allocations: 467.4 kB / 0.5451 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.3917, allocations: 477.9 kB / 0.5455 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.3919, allocations: 71.97 kB / 0.5456 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.3951, allocations: 2.958 MB / 0.5485 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3951, allocations: 11.09 kB / 0.5485 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.4008, allocations: 3.528 MB / 0.5519 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.4025, allocations: 0.7535 MB / 0.5527 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.4029, allocations: 67.98 kB / 0.5528 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.4041, allocations: 147.9 kB / 0.5529 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/0.4044, allocations: 205.1 kB / 0.5531 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.4045, allocations: 87.97 kB / 0.5532 GB, free: 3.371 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0017/0.4062, allocations: 1.446 MB / 0.5546 GB, free: 1.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4062, allocations: 0 / 0.5546 GB, free: 1.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003504/0.4097, allocations: 1.773 MB / 0.5563 GB, free: 156 kB / 442.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.001331/0.4111, allocations: 0.4892 MB / 0.5568 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0086/0.4197, allocations: 4.744 MB / 0.5614 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.4197, allocations: 0 / 0.5614 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.4221, allocations: 1.222 MB / 0.5626 GB, free: 9.945 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.425, allocations: 0.5943 MB / 0.5632 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.436, allocations: 6.059 MB / 0.5691 GB, free: 3.188 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.4366, allocations: 0.5759 MB / 0.5697 GB, free: 2.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002075/0.4387, allocations: 456.3 kB / 0.5701 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/0.4394, allocations: 212.5 kB / 0.5703 GB, free: 1.93 MB / 458.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4394, allocations: 0 / 0.5703 GB, free: 1.93 MB / 458.7 MB Notification: Performance of Templates: time 0.06154/0.5009, allocations: 49.16 MB / 0.6183 GB, free: 1.168 MB / 0.4948 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.982129873009399]