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.001384/0.001384, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.001694/0.001694, allocations: 177 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9346/0.9346, allocations: 158.6 MB / 186.1 MB, free: 2.922 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.4467/0.4467, allocations: 90.55 MB / 328.9 MB, free: 14.71 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.543e-06/1.543e-06, allocations: 0 / 434.5 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.752e-05, allocations: 6.312 kB / 434.5 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01733/0.01735, allocations: 15.65 MB / 450.1 MB, free: 5.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.03051, allocations: 7.18 MB / 457.3 MB, free: 14.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003714/0.03422, allocations: 107.3 kB / 457.4 MB, free: 14.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.03664, allocations: 0.8324 MB / 458.2 MB, free: 13.68 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.005275/0.04191, allocations: 1.646 MB / 459.9 MB, free: 12.02 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.0058/0.04771, allocations: 3.124 MB / 463 MB, free: 8.895 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00722/0.05493, allocations: 5.886 MB / 468.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.05859, allocations: 1.395 MB / 470.3 MB, free: 1.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.184/0.2426, allocations: 1.988 MB / 472.3 MB, free: 55.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.2449, allocations: 1.753 MB / 474 MB, free: 55.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001596/0.2465, allocations: 0.6323 MB / 474.7 MB, free: 55.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2479, allocations: 0.9649 MB / 475.6 MB, free: 55.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007107/0.2486, allocations: 1.264 MB / 476.9 MB, free: 55.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.2508, allocations: 1.596 MB / 478.5 MB, free: 55.79 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.2563, allocations: 4.142 MB / 482.6 MB, free: 55.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2563, allocations: 3.031 kB / 482.6 MB, free: 55.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2563, allocations: 0 / 482.6 MB, free: 55.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002071/0.2565, allocations: 0 / 482.6 MB, free: 55.24 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.01131/0.2678, allocations: 6.397 MB / 489 MB, free: 52.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2679, allocations: 8.562 kB / 489 MB, free: 52.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.2723, allocations: 1.738 MB / 490.8 MB, free: 52.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.2765, allocations: 2.849 MB / 493.6 MB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.277, allocations: 0.899 MB / 494.5 MB, free: 51.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/0.2775, allocations: 346.9 kB / 494.9 MB, free: 51.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/0.2822, allocations: 3.369 MB / 498.2 MB, free: 49.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.2823, allocations: 4 kB / 498.2 MB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.2825, allocations: 141.4 kB / 498.4 MB, free: 49.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.2826, allocations: 78.75 kB / 498.5 MB, free: 49.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.2856, allocations: 1.47 MB / 499.9 MB, free: 49.31 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.01468/0.3002, allocations: 12.53 MB / 0.5004 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.3037, allocations: 1.747 MB / 0.5021 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.3048, allocations: 0.6025 MB / 0.5027 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.305, allocations: 59.5 kB / 0.5028 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.307, allocations: 1.206 MB / 0.504 GB, free: 40.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 9.578e-06/0.307, allocations: 1.344 kB / 0.504 GB, free: 40.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=273): time 0.008075/0.3151, allocations: 3.202 MB / 0.5071 GB, free: 39.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.3152, allocations: 0.5515 MB / 0.5076 GB, free: 38.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.3192, allocations: 2.654 MB / 0.5102 GB, free: 37.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006083/0.3198, allocations: 93.3 kB / 0.5103 GB, free: 37.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.3214, allocations: 1.754 MB / 0.512 GB, free: 36.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.3228, allocations: 0.98 MB / 0.513 GB, free: 35.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/0.3241, allocations: 0.8389 MB / 0.5138 GB, free: 35.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.3242, allocations: 479.9 kB / 0.5143 GB, free: 34.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.3258, allocations: 0.884 MB / 0.5151 GB, free: 34.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.3277, allocations: 2.122 MB / 0.5172 GB, free: 32.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004669/0.3323, allocations: 3.743 MB / 0.5209 GB, free: 31.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.3323, allocations: 6.656 kB / 0.5209 GB, free: 31.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=571) (initialization): time 0.006223/0.3386, allocations: 3.824 MB / 0.5246 GB, free: 30.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.3386, allocations: 70.39 kB / 0.5247 GB, free: 30.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3387, allocations: 11.06 kB / 0.5247 GB, free: 30.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3398, allocations: 0.4967 MB / 0.5252 GB, free: 30.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.342, allocations: 0.8502 MB / 0.526 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.3457, allocations: 2.974 MB / 0.5289 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.3483, allocations: 391.2 kB / 0.5293 GB, free: 26.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.3485, allocations: 149.1 kB / 0.5294 GB, free: 26.37 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.002687/0.3512, allocations: 1.236 MB / 0.5306 GB, free: 25.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001841/0.3531, allocations: 2.111 MB / 0.5327 GB, free: 22.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004433/0.3575, allocations: 3.735 MB / 0.5363 GB, free: 18.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.421e-05/0.3575, allocations: 4 kB / 0.5363 GB, free: 18.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=571) (initialization_lambda0): time 0.005949/0.3635, allocations: 3.811 MB / 0.5401 GB, free: 15.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.3635, allocations: 69.66 kB / 0.5401 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3635, allocations: 12 kB / 0.5401 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009711/0.3645, allocations: 495.4 kB / 0.5406 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.3668, allocations: 0.8445 MB / 0.5414 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.3701, allocations: 2.964 MB / 0.5443 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.3728, allocations: 374.1 kB / 0.5447 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.3731, allocations: 152 kB / 0.5448 GB, free: 10.21 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: 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.0009462/0.374, allocations: 0.6553 MB / 0.5455 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/0.3749, allocations: 473.5 kB / 0.5459 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.3789, allocations: 2.334 MB / 0.5482 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3789, allocations: 32 kB / 0.5482 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3789, allocations: 7.938 kB / 0.5482 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.3789, allocations: 11.95 kB / 0.5482 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008269/0.3872, allocations: 5.908 MB / 0.554 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3872, allocations: 4 kB / 0.554 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.3888, allocations: 0.4996 MB / 0.5545 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.3898, allocations: 475.1 kB / 0.555 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.39, allocations: 75.97 kB / 0.555 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.3937, allocations: 2.96 MB / 0.5579 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.3937, allocations: 11.28 kB / 0.5579 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006935/0.4006, allocations: 3.708 MB / 0.5616 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.4026, allocations: 0.7974 MB / 0.5623 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007299/0.4033, allocations: 75.98 kB / 0.5624 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.4047, allocations: 155.8 kB / 0.5626 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/0.4051, allocations: 220.1 kB / 0.5628 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.4052, allocations: 95.97 kB / 0.5629 GB, free: 7.477 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002221/0.4075, allocations: 1.525 MB / 0.5643 GB, free: 5.961 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4075, allocations: 0 / 0.5643 GB, free: 5.961 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004366/0.4118, allocations: 1.879 MB / 0.5662 GB, free: 4.078 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.001268/0.4131, allocations: 0.4964 MB / 0.5667 GB, free: 3.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008714/0.4218, allocations: 5.016 MB / 0.5716 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.4218, allocations: 4 kB / 0.5716 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.4244, allocations: 1.275 MB / 0.5728 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.4275, allocations: 0.6444 MB / 0.5734 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.4398, allocations: 6.572 MB / 0.5799 GB, free: 6.227 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/0.4405, allocations: 0.613 MB / 0.5805 GB, free: 5.602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002385/0.4429, allocations: 479.1 kB / 0.5809 GB, free: 5.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.4436, allocations: 220.5 kB / 0.5811 GB, free: 4.914 MB / 474.7 MB Notification: Performance of SimCode: time 2.815e-06/0.4436, allocations: 4 kB / 0.5811 GB, free: 4.91 MB / 474.7 MB Notification: Performance of Templates: time 0.06562/0.5092, allocations: 51.63 MB / 0.6316 GB, free: 1.66 MB / 0.5105 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=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.550422756001353]