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.001191/0.001191, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.001005/0.001005, allocations: 164.6 kB / 24.85 MB, free: 8.641 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 0.9182/0.9182, allocations: 158.6 MB / 186.8 MB, free: 2.805 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.4434/0.4434, allocations: 90.56 MB / 329.7 MB, free: 14.57 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.543e-06/1.543e-06, allocations: 0 / 435.1 MB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.625e-05, allocations: 2.312 kB / 435.1 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01872/0.01875, allocations: 14.4 MB / 449.5 MB, free: 7.082 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.03224, allocations: 6.779 MB / 456.3 MB, free: 288 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.03564, allocations: 99.38 kB / 456.4 MB, free: 188 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.03841, allocations: 0.7859 MB / 457.2 MB, free: 15.39 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.005247/0.04366, allocations: 1.588 MB / 458.8 MB, free: 13.79 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.005481/0.04914, allocations: 2.889 MB / 461.7 MB, free: 10.9 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006814/0.05595, allocations: 5.456 MB / 467.1 MB, free: 5.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.0589, allocations: 1.258 MB / 468.4 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.06175, allocations: 1.858 MB / 470.3 MB, free: 2.234 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.06371, allocations: 1.639 MB / 471.9 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.06455, allocations: 0.5781 MB / 472.5 MB, free: 12 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1815/0.246, allocations: 0.8989 MB / 473.4 MB, free: 59.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007864/0.2468, allocations: 1.175 MB / 474.5 MB, free: 59.65 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.2485, allocations: 1.475 MB / 476 MB, free: 59.65 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.2529, allocations: 3.854 MB / 479.9 MB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.253, allocations: 0 / 479.9 MB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.253, allocations: 3.281 kB / 479.9 MB, free: 59.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.2531, allocations: 2.938 kB / 479.9 MB, free: 59.38 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.01038/0.2635, allocations: 6.09 MB / 486 MB, free: 57.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2635, allocations: 11 kB / 486 MB, free: 57.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.2677, allocations: 1.654 MB / 487.6 MB, free: 56.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.2716, allocations: 2.563 MB / 490.2 MB, free: 56.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.272, allocations: 0.8806 MB / 491.1 MB, free: 55.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.2724, allocations: 318 kB / 491.4 MB, free: 55.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.2756, allocations: 2.859 MB / 494.2 MB, free: 54.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/0.2757, allocations: 9.625 kB / 494.3 MB, free: 54.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.2759, allocations: 123.2 kB / 494.4 MB, free: 54.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.276, allocations: 76.42 kB / 494.5 MB, free: 54.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.2777, allocations: 1.077 MB / 495.5 MB, free: 54.22 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.01137/0.2891, allocations: 10.67 MB / 0.4943 GB, free: 47.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.2913, allocations: 1.394 MB / 0.4957 GB, free: 47.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/0.292, allocations: 465.5 kB / 0.4961 GB, free: 47.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.2921, allocations: 54.28 kB / 0.4962 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.2934, allocations: 1 MB / 0.4972 GB, free: 47.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 6.051e-06/0.2934, allocations: 0 / 0.4972 GB, free: 47.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=253): time 0.006331/0.2997, allocations: 2.704 MB / 0.4998 GB, free: 46.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.2999, allocations: 0.5195 MB / 0.5003 GB, free: 46.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.303, allocations: 2.406 MB / 0.5027 GB, free: 45.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.3034, allocations: 86.33 kB / 0.5027 GB, free: 45.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3046, allocations: 1.685 MB / 0.5044 GB, free: 44.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008466/0.3054, allocations: 0.9195 MB / 0.5053 GB, free: 43.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.3065, allocations: 0.8138 MB / 0.5061 GB, free: 43.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.3065, allocations: 484.7 kB / 0.5065 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3079, allocations: 0.7608 MB / 0.5073 GB, free: 42.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.3096, allocations: 1.918 MB / 0.5092 GB, free: 41.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.3138, allocations: 3.276 MB / 0.5124 GB, free: 40.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/0.3138, allocations: 2.375 kB / 0.5124 GB, free: 40.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005233/0.319, allocations: 3.447 MB / 0.5157 GB, free: 39.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.3191, allocations: 67.72 kB / 0.5158 GB, free: 39.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.3191, allocations: 11.66 kB / 0.5158 GB, free: 39.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.3201, allocations: 477.3 kB / 0.5163 GB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.3221, allocations: 0.8031 MB / 0.517 GB, free: 39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.3251, allocations: 2.883 MB / 0.5199 GB, free: 36.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.3275, allocations: 365.5 kB / 0.5202 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.3277, allocations: 109.2 kB / 0.5203 GB, free: 36.58 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.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary 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.injector.i0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.injector.i0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary 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.002402/0.3301, allocations: 1.108 MB / 0.5214 GB, free: 36.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/0.3317, allocations: 1.909 MB / 0.5233 GB, free: 34.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003652/0.3354, allocations: 3.257 MB / 0.5264 GB, free: 32.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.582e-05/0.3354, allocations: 4 kB / 0.5264 GB, free: 32.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.005002/0.3404, allocations: 3.425 MB / 0.5298 GB, free: 29.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.3404, allocations: 73.03 kB / 0.5299 GB, free: 29.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3405, allocations: 8 kB / 0.5299 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.3414, allocations: 484.4 kB / 0.5303 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.3433, allocations: 0.7911 MB / 0.5311 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.3463, allocations: 2.882 MB / 0.5339 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.3484, allocations: 346.9 kB / 0.5342 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.3486, allocations: 108.1 kB / 0.5343 GB, free: 25.34 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.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary 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.injector.i0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.injector.i0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary 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.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.wecc_repc.limPID.I.local_reset,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,PV.injector.switchOffSignal1,PV.injector.switchOffSignal2,PV.injector.switchOffSignal3,$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.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.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) * 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.0008699/0.3495, allocations: 0.656 MB / 0.535 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/0.3501, allocations: 434.4 kB / 0.5354 GB, free: 24.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.353, allocations: 2.013 MB / 0.5374 GB, free: 22.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.353, allocations: 24 kB / 0.5374 GB, free: 22.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.353, allocations: 12 kB / 0.5374 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.353, allocations: 11.95 kB / 0.5374 GB, free: 22.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/0.3591, allocations: 4.947 MB / 0.5422 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3591, allocations: 8 kB / 0.5423 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.3604, allocations: 469.7 kB / 0.5427 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/0.3612, allocations: 469.4 kB / 0.5431 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.3614, allocations: 67.97 kB / 0.5432 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.364, allocations: 2.875 MB / 0.546 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.364, allocations: 11.75 kB / 0.546 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.3681, allocations: 3.197 MB / 0.5492 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.3692, allocations: 0.7453 MB / 0.5499 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.3695, allocations: 71.98 kB / 0.55 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/0.3705, allocations: 147.8 kB / 0.5501 GB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.3708, allocations: 205 kB / 0.5503 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.3709, allocations: 67.97 kB / 0.5504 GB, free: 9.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.3719, allocations: 1.304 MB / 0.5516 GB, free: 8.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3719, allocations: 0 / 0.5516 GB, free: 8.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003076/0.375, allocations: 1.773 MB / 0.5534 GB, free: 6.234 MB / 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.0009813/0.376, allocations: 497.8 kB / 0.5538 GB, free: 5.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006359/0.3823, allocations: 4.536 MB / 0.5583 GB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.3824, allocations: 4 kB / 0.5583 GB, free: 1.527 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3841, allocations: 1.122 MB / 0.5594 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.3867, allocations: 0.5897 MB / 0.5599 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.3964, allocations: 6.019 MB / 0.5658 GB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.3969, allocations: 0.5759 MB / 0.5664 GB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001858/0.3988, allocations: 429.5 kB / 0.5668 GB, free: 8.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.4001, allocations: 0.6385 MB / 0.5674 GB, free: 8.113 MB / 458.7 MB Notification: Performance of SimCode: time 2.384e-06/0.4001, allocations: 0 / 0.5674 GB, free: 8.113 MB / 458.7 MB Notification: Performance of Templates: time 0.067/0.4671, allocations: 54.58 MB / 0.6207 GB, free: 1.953 MB / 0.4948 GB " [Timeout remaining time 660] 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.983014936093241]