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.001022/0.001022, 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.001242/0.001242, allocations: 164.7 kB / 24.86 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.8998/0.8998, allocations: 158.6 MB / 186.7 MB, free: 2.812 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.57 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.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 1.693e-06/1.693e-06, allocations: 0 / 436 MB, free: 4.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.553e-05, allocations: 2.312 kB / 436 MB, free: 4.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.0126/0.01263, allocations: 15.17 MB / 451.1 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009892/0.02252, allocations: 7.145 MB / 458.3 MB, free: 14.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.0246, allocations: 103.3 kB / 458.4 MB, free: 14.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.02613, allocations: 0.8401 MB / 459.2 MB, free: 13.32 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.003006/0.02914, allocations: 1.638 MB / 460.9 MB, free: 11.68 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.00372/0.03286, allocations: 3.108 MB / 464 MB, free: 8.562 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.03737, allocations: 5.89 MB / 469.9 MB, free: 2.652 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.03907, allocations: 1.391 MB / 471.3 MB, free: 1.188 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1834/0.2224, allocations: 1.992 MB / 473.2 MB, free: 56.51 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2246, allocations: 1.753 MB / 475 MB, free: 56.51 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.2258, allocations: 0.6328 MB / 475.6 MB, free: 56.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.227, allocations: 0.966 MB / 476.6 MB, free: 56.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006344/0.2276, allocations: 1.27 MB / 477.9 MB, free: 56.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.2294, allocations: 1.598 MB / 479.5 MB, free: 56.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.2338, allocations: 4.133 MB / 483.6 MB, free: 55.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2338, allocations: 0.9375 kB / 483.6 MB, free: 55.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2338, allocations: 0 / 483.6 MB, free: 55.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.2339, allocations: 7.219 kB / 483.6 MB, free: 55.9 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.009183/0.2431, allocations: 6.435 MB / 490 MB, free: 53.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2431, allocations: 8.719 kB / 490.1 MB, free: 53.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/0.247, allocations: 1.732 MB / 491.8 MB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.2497, allocations: 2.789 MB / 494.6 MB, free: 52.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.25, allocations: 0.9025 MB / 495.5 MB, free: 51.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.2504, allocations: 348.5 kB / 495.8 MB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.2532, allocations: 3.131 MB / 498.9 MB, free: 50.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.2533, allocations: 4.375 kB / 499 MB, free: 50.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.2535, allocations: 139.3 kB / 499.1 MB, free: 50.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.2536, allocations: 81.06 kB / 499.2 MB, free: 50.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.2562, allocations: 1.165 MB / 0.4886 GB, free: 50.41 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.01608/0.2723, allocations: 12.07 MB / 0.5004 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.2749, allocations: 1.579 MB / 0.5019 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.2757, allocations: 0.4932 MB / 0.5024 GB, free: 42.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.2758, allocations: 59.91 kB / 0.5025 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/0.2774, allocations: 1.113 MB / 0.5036 GB, free: 42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 4.588e-06/0.2774, allocations: 0 / 0.5036 GB, free: 42 MB / 442.7 MB Notification: Performance of matching and sorting (n=273): time 0.006537/0.2839, allocations: 2.869 MB / 0.5064 GB, free: 41.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.284, allocations: 0.5469 MB / 0.5069 GB, free: 40.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.287, allocations: 2.554 MB / 0.5094 GB, free: 40.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.2872, allocations: 85.05 kB / 0.5095 GB, free: 40.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.2882, allocations: 1.803 MB / 0.5112 GB, free: 38.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000622/0.2888, allocations: 0.9971 MB / 0.5122 GB, free: 38.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.2899, allocations: 0.8651 MB / 0.513 GB, free: 37.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.2899, allocations: 480.3 kB / 0.5135 GB, free: 37.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.2913, allocations: 0.8111 MB / 0.5143 GB, free: 37.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.293, allocations: 2.07 MB / 0.5163 GB, free: 35.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.2967, allocations: 3.598 MB / 0.5198 GB, free: 34.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.2967, allocations: 9.688 kB / 0.5198 GB, free: 34.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=571) (initialization): time 0.004925/0.3017, allocations: 3.653 MB / 0.5234 GB, free: 33.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.3017, allocations: 75.08 kB / 0.5235 GB, free: 33.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.3018, allocations: 10.62 kB / 0.5235 GB, free: 33.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/0.3027, allocations: 485.2 kB / 0.524 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3047, allocations: 0.8551 MB / 0.5248 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.3076, allocations: 2.883 MB / 0.5276 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.3095, allocations: 391.6 kB / 0.528 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.3097, allocations: 122.2 kB / 0.5281 GB, free: 30.22 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.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.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.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.00227/0.3119, allocations: 1.172 MB / 0.5292 GB, free: 29.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00148/0.3134, allocations: 2.058 MB / 0.5313 GB, free: 27.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003529/0.3169, allocations: 3.586 MB / 0.5348 GB, free: 23.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.241e-05/0.317, allocations: 4 kB / 0.5348 GB, free: 23.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=571) (initialization_lambda0): time 0.004646/0.3216, allocations: 3.648 MB / 0.5383 GB, free: 19.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.3216, allocations: 69.66 kB / 0.5384 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3217, allocations: 12 kB / 0.5384 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.3225, allocations: 486.3 kB / 0.5389 GB, free: 19.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.3244, allocations: 0.8454 MB / 0.5397 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.3272, allocations: 2.882 MB / 0.5425 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.3289, allocations: 370.1 kB / 0.5429 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.3291, allocations: 120 kB / 0.543 GB, free: 14.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.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.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.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.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: 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.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.local_reset,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.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.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.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) * 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.0008294/0.3299, allocations: 0.6528 MB / 0.5436 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.3304, allocations: 469.6 kB / 0.5441 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.3334, allocations: 2.121 MB / 0.5461 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3334, allocations: 24 kB / 0.5461 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3334, allocations: 8 kB / 0.5462 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.3335, allocations: 15.94 kB / 0.5462 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.3396, allocations: 5.252 MB / 0.5513 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3397, allocations: 8 kB / 0.5513 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.3411, allocations: 0.4951 MB / 0.5518 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007685/0.3419, allocations: 466.1 kB / 0.5522 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.342, allocations: 71.97 kB / 0.5523 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.3446, allocations: 2.871 MB / 0.5551 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3446, allocations: 7.938 kB / 0.5551 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.3486, allocations: 3.375 MB / 0.5584 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.3497, allocations: 0.7925 MB / 0.5592 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.35, allocations: 72.11 kB / 0.5593 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.3512, allocations: 159.9 kB / 0.5594 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.3515, allocations: 217 kB / 0.5596 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.3517, allocations: 83.17 kB / 0.5597 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.353, allocations: 1.363 MB / 0.561 GB, free: 12.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 4 kB / 0.561 GB, free: 12.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003353/0.3563, allocations: 1.879 MB / 0.5629 GB, free: 10.87 MB / 458.7 MB 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.001018/0.3573, allocations: 0.4905 MB / 0.5633 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00689/0.3642, allocations: 4.777 MB / 0.568 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.3642, allocations: 4 kB / 0.568 GB, free: 5.938 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3659, allocations: 1.171 MB / 0.5692 GB, free: 4.836 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.3677, allocations: 0.6385 MB / 0.5698 GB, free: 4.223 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/0.3761, allocations: 6.53 MB / 0.5762 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3766, allocations: 0.6203 MB / 0.5768 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001509/0.3781, allocations: 459.1 kB / 0.5772 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.3796, allocations: 0.6853 MB / 0.5779 GB, free: 11.81 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3796, allocations: 0 / 0.5779 GB, free: 11.81 MB / 474.7 MB Notification: Performance of Templates: time 0.06869/0.4483, allocations: 57.38 MB / 0.6339 GB, free: 2.848 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.647852768190205]