Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.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.001523/0.001523, allocations: 85.91 kB / 20.22 MB, free: 4.32 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.001565/0.001565, allocations: 165.3 kB / 23.54 MB, free: 1.008 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.473/1.473, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.8483/0.8483, allocations: 90.63 MB / 328.3 MB, free: 14.61 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.PVVoltageSource4,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.PVVoltageSource4") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,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.PVVoltageSource4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 433.8 MB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.104e-05/4.334e-05, allocations: 10.25 kB / 433.8 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.03665/0.03669, allocations: 14.71 MB / 448.5 MB, free: 6.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.0548, allocations: 7.11 MB / 455.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.05818, allocations: 107.3 kB / 455.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.06126, allocations: 0.8362 MB / 456.6 MB, free: 14.58 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.006127/0.06738, allocations: 1.634 MB / 458.2 MB, free: 12.93 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.00764/0.07502, allocations: 3.108 MB / 461.3 MB, free: 9.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00949/0.08452, allocations: 5.906 MB / 467.2 MB, free: 3.895 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.08834, allocations: 1.398 MB / 468.6 MB, free: 2.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.09201, allocations: 1.994 MB / 470.6 MB, free: 432 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1769/0.2689, allocations: 1.74 MB / 472.4 MB, free: 58.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001931/0.2709, allocations: 0.6354 MB / 473 MB, free: 58.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.2725, allocations: 0.9675 MB / 474 MB, free: 58.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007525/0.2732, allocations: 1.266 MB / 475.2 MB, free: 58.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.2745, allocations: 1.597 MB / 476.8 MB, free: 58.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.2811, allocations: 7.912 MB / 484.7 MB, free: 58.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2811, allocations: 0.9062 kB / 484.7 MB, free: 58.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2811, allocations: 0 / 484.7 MB, free: 58.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.2813, allocations: 0 / 484.7 MB, free: 58.55 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01731/0.2986, allocations: 6.337 MB / 491.1 MB, free: 56.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2986, allocations: 15.33 kB / 491.1 MB, free: 56.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00712/0.3057, allocations: 1.712 MB / 492.8 MB, free: 56.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.3109, allocations: 2.99 MB / 495.8 MB, free: 54.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000516/0.3115, allocations: 1.007 MB / 496.8 MB, free: 53.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007465/0.3122, allocations: 349.5 kB / 497.2 MB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007794/0.32, allocations: 4.471 MB / 0.4899 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.218e-05/0.3201, allocations: 6.547 kB / 0.4899 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.3204, allocations: 140 kB / 0.49 GB, free: 50.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.3205, allocations: 80.12 kB / 0.4901 GB, free: 50.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007707/0.3282, allocations: 3.443 MB / 0.4934 GB, free: 49.49 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.02269/0.3509, allocations: 12 MB / 0.5052 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008748/0.3596, allocations: 3.359 MB / 0.5084 GB, free: 41.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.3633, allocations: 1.391 MB / 0.5098 GB, free: 40.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.3637, allocations: 54.62 kB / 0.5099 GB, free: 40.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004973/0.3687, allocations: 2.009 MB / 0.5118 GB, free: 39.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 1.081e-05/0.3687, allocations: 0 / 0.5118 GB, free: 39.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=273): time 0.01618/0.3849, allocations: 5.583 MB / 0.5173 GB, free: 36.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.385, allocations: 0.5473 MB / 0.5178 GB, free: 36.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.3909, allocations: 3.096 MB / 0.5208 GB, free: 34.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004596/0.3914, allocations: 89.94 kB / 0.5209 GB, free: 34.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.3929, allocations: 1.703 MB / 0.5226 GB, free: 33.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.394, allocations: 0.9691 MB / 0.5235 GB, free: 32.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.396, allocations: 0.8096 MB / 0.5243 GB, free: 31.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.396, allocations: 305.1 kB / 0.5246 GB, free: 31.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/0.3995, allocations: 1.861 MB / 0.5264 GB, free: 30.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/0.4035, allocations: 2.943 MB / 0.5293 GB, free: 27.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03094/0.4344, allocations: 9.705 MB / 0.5388 GB, free: 17.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-05/0.4345, allocations: 8 kB / 0.5388 GB, free: 17.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=571) (initialization): time 0.01471/0.4492, allocations: 5.776 MB / 0.5444 GB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4493, allocations: 69.66 kB / 0.5445 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.4493, allocations: 12 kB / 0.5445 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.4511, allocations: 0.632 MB / 0.5451 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/0.4555, allocations: 0.8891 MB / 0.546 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006377/0.4619, allocations: 3.938 MB / 0.5498 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.4665, allocations: 453.6 kB / 0.5503 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/0.4675, allocations: 153.6 kB / 0.5504 GB, free: 5.598 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.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) 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) 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.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.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.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.006445/0.4739, allocations: 2.588 MB / 0.5529 GB, free: 3.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004543/0.4785, allocations: 2.892 MB / 0.5558 GB, free: 15.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03676/0.5152, allocations: 9.556 MB / 0.5651 GB, free: 6.051 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.509e-05/0.5152, allocations: 4 kB / 0.5651 GB, free: 6.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=571) (initialization_lambda0): time 0.01779/0.533, allocations: 5.672 MB / 0.5706 GB, free: 376 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.5332, allocations: 74 kB / 0.5707 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.5332, allocations: 12 kB / 0.5707 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.5354, allocations: 0.6405 MB / 0.5713 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/0.5403, allocations: 0.8746 MB / 0.5722 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008506/0.5488, allocations: 3.923 MB / 0.576 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/0.5536, allocations: 418 kB / 0.5764 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009425/0.5546, allocations: 156 kB / 0.5766 GB, free: 10.24 MB / 474.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.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) 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) 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.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.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.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: 50 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.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.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running,$PRE.PV.LvTfo.running,$PRE.PV.HvTfo.running,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.HvTfo.running,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$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,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (525): * Single equations (assignments): 523 * 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.002104/0.5567, allocations: 0.5761 MB / 0.5771 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/0.5588, allocations: 461.6 kB / 0.5776 GB, free: 9.293 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.5709, allocations: 3.937 MB / 0.5814 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.5709, allocations: 28 kB / 0.5815 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/0.571, allocations: 8.484 kB / 0.5815 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/0.571, allocations: 15.95 kB / 0.5815 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/0.5941, allocations: 7.904 MB / 0.5892 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.5941, allocations: 4.781 kB / 0.5892 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/0.5976, allocations: 0.5388 MB / 0.5897 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.5997, allocations: 0.6213 MB / 0.5903 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000425/0.6001, allocations: 71.97 kB / 0.5904 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008312/0.6084, allocations: 3.927 MB / 0.5942 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/0.6084, allocations: 15.45 kB / 0.5942 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/0.6257, allocations: 6.419 MB / 0.6005 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/0.6288, allocations: 0.7974 MB / 0.6013 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/0.63, allocations: 75.98 kB / 0.6014 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003163/0.6332, allocations: 211.7 kB / 0.6016 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007354/0.6339, allocations: 229 kB / 0.6018 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/0.6343, allocations: 95.91 kB / 0.6019 GB, free: 184 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004887/0.6391, allocations: 1.982 MB / 0.6038 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6391, allocations: 0 / 0.6038 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00752/0.6467, allocations: 1.886 MB / 0.6057 GB, free: 12.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 25 (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.wecc_regc.pIAntiWindupVariableLimits.integrator.y,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.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,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.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.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.HvTfo.running,PV.LvTfo.running,PV.source.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 253 * 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.00249/0.6492, allocations: 0.5342 MB / 0.6062 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02031/0.6695, allocations: 7.192 MB / 0.6132 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/0.6695, allocations: 4 kB / 0.6132 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006402/0.6759, allocations: 2.136 MB / 0.6153 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/0.6809, allocations: 0.6473 MB / 0.6159 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.7004, allocations: 7.592 MB / 0.6233 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00316/0.7036, allocations: 1.599 MB / 0.6249 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003626/0.7072, allocations: 487.1 kB / 0.6254 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.7085, allocations: 224.5 kB / 0.6256 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/0.7085, allocations: 0 / 0.6256 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of Templates: time 0.2597/0.9681, allocations: 51.02 MB / 0.6754 GB, free: 179.1 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.317311692982912]