Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.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.0008991/0.0008991, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.001122/0.001122, allocations: 177 kB / 24.08 MB, free: 432 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.9217/0.9217, allocations: 158.6 MB / 186 MB, free: 2.402 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.4722/0.4722, allocations: 91.29 MB / 329.6 MB, free: 13.76 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.PVCurrentSource,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.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,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.PVCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 3.984 kB / 435.4 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.568e-05, allocations: 2.312 kB / 435.4 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01249/0.01252, allocations: 14.07 MB / 449.4 MB, free: 6.344 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.0234, allocations: 6.834 MB / 456.3 MB, free: 15.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.02701, allocations: 95.38 kB / 456.4 MB, free: 15.4 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.02939, allocations: 0.8132 MB / 457.2 MB, free: 14.58 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004057/0.03344, allocations: 1.358 MB / 458.5 MB, free: 13.21 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/Protections/HVRT.mo:61:3-67:11:writable] Warning: In relation pre(PV.hvrt.tThresholdReached) <> Modelica.Constants.inf, <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/Protections/LVRT.mo:61:3-67:11:writable] Warning: In relation pre(PV.lvrt.tThresholdReached) <> Modelica.Constants.inf, <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.0383, allocations: 3.123 MB / 461.7 MB, free: 10.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005946/0.04425, allocations: 5.425 MB / 467.1 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.04647, allocations: 1.229 MB / 468.3 MB, free: 3.344 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.04894, allocations: 1.85 MB / 470.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1775/0.2264, allocations: 1.612 MB / 471.8 MB, free: 57.96 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2282, allocations: 0.5686 MB / 472.3 MB, free: 57.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.23, allocations: 0.8989 MB / 473.2 MB, free: 57.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009545/0.231, allocations: 1.172 MB / 474.4 MB, free: 57.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.2328, allocations: 1.446 MB / 475.9 MB, free: 57.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.2373, allocations: 3.796 MB / 479.6 MB, free: 57.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2373, allocations: 3.125 kB / 479.7 MB, free: 57.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2373, allocations: 0 / 479.7 MB, free: 57.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.2374, allocations: 0 / 479.7 MB, free: 57.7 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: 740 * Number of variables: 740 Notification: Performance of Generate backend data structure: time 0.008322/0.2457, allocations: 5.826 MB / 485.5 MB, free: 55.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2458, allocations: 11.22 kB / 485.5 MB, free: 55.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.2488, allocations: 1.431 MB / 486.9 MB, free: 55.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.2514, allocations: 2.551 MB / 489.5 MB, free: 54.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.2517, allocations: 0.8771 MB / 490.3 MB, free: 53.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.252, allocations: 324 kB / 490.7 MB, free: 53.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.2546, allocations: 2.768 MB / 493.4 MB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.2546, allocations: 2.656 kB / 493.4 MB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.2548, allocations: 123.8 kB / 493.6 MB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.2548, allocations: 69.56 kB / 493.6 MB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.2562, allocations: 1.022 MB / 494.6 MB, free: 52.6 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.009023/0.2652, allocations: 10.13 MB / 0.4929 GB, free: 46.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.2675, allocations: 1.556 MB / 0.4945 GB, free: 46.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.268, allocations: 456.2 kB / 0.4949 GB, free: 46.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2682, allocations: 66.73 kB / 0.495 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.2694, allocations: 1.105 MB / 0.496 GB, free: 45.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=271): time 4.719e-06/0.2694, allocations: 0 / 0.496 GB, free: 45.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=271): time 0.004239/0.2736, allocations: 2.427 MB / 0.4984 GB, free: 45.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.2737, allocations: 490.6 kB / 0.4989 GB, free: 44.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.2764, allocations: 2.423 MB / 0.5013 GB, free: 44.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.2766, allocations: 100.9 kB / 0.5013 GB, free: 44.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/0.2775, allocations: 1.67 MB / 0.503 GB, free: 43.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.2782, allocations: 0.9425 MB / 0.5039 GB, free: 42.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.2792, allocations: 0.8001 MB / 0.5047 GB, free: 42.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.2793, allocations: 478.5 kB / 0.5051 GB, free: 41.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.2804, allocations: 0.7237 MB / 0.5058 GB, free: 41.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.282, allocations: 1.788 MB / 0.5076 GB, free: 40.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.2857, allocations: 3.013 MB / 0.5105 GB, free: 38.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.2857, allocations: 6.844 kB / 0.5105 GB, free: 38.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.004276/0.29, allocations: 3.227 MB / 0.5137 GB, free: 37.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.29, allocations: 65.55 kB / 0.5138 GB, free: 37.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.29, allocations: 16.62 kB / 0.5138 GB, free: 37.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.2907, allocations: 327 kB / 0.5141 GB, free: 37.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.2924, allocations: 0.7769 MB / 0.5148 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.2943, allocations: 2.477 MB / 0.5173 GB, free: 35.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.296, allocations: 377.4 kB / 0.5176 GB, free: 35.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.2961, allocations: 108.4 kB / 0.5177 GB, free: 35.57 MB / 442.7 MB Warning: Assuming fixed start value for the following 38 variables: 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.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) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.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.injector.running:DISCRETE(flow=false start = PV.injector.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.hvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean PV.hvrt.filter.y:VARIABLE(flow=false start = PV.hvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.hvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real PV.lvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean PV.lvrt.filter.y:VARIABLE(flow=false start = PV.lvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.lvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real PV.lvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.lvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.hvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.hvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001917/0.298, allocations: 1.068 MB / 0.5188 GB, free: 35.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001251/0.2993, allocations: 1.78 MB / 0.5205 GB, free: 33.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002984/0.3023, allocations: 2.994 MB / 0.5234 GB, free: 32.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.889e-06/0.3023, allocations: 0 / 0.5234 GB, free: 32.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=536) (initialization_lambda0): time 0.005107/0.3074, allocations: 3.216 MB / 0.5266 GB, free: 29.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.3074, allocations: 68.16 kB / 0.5266 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3075, allocations: 8 kB / 0.5266 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.3082, allocations: 334.2 kB / 0.527 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.3104, allocations: 0.7731 MB / 0.5277 GB, free: 29.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.3128, allocations: 2.465 MB / 0.5301 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.3149, allocations: 359.6 kB / 0.5305 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.3151, allocations: 104.8 kB / 0.5306 GB, free: 26.21 MB / 442.7 MB Warning: Assuming fixed start value for the following 38 variables: 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.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) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.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.injector.running:DISCRETE(flow=false start = PV.injector.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.hvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean PV.hvrt.filter.y:VARIABLE(flow=false start = PV.hvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.hvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real PV.lvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean PV.lvrt.filter.y:VARIABLE(flow=false start = PV.lvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.lvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real PV.lvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.lvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.hvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean PV.hvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean 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: 38 * Number of states: 0 () * Number of discrete variables: 102 ($PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.injector.state,PV.injector.state,$PRE.line.state,line.state,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,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_regc.rateLimFirstOrderFreeze2.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,PV.injector.switchOffSignal1,PV.injector.switchOffSignal2,$PRE.line.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running,$PRE.PV.LvTfo.running,$PRE.PV.HvTfo.running,$PRE.PV.hvrt.switchOffSignal,$PRE.PV.hvrt.tThresholdReached,$PRE.PV.lvrt.switchOffSignal,$PRE.PV.lvrt.tThresholdReached,PV.wecc_regc.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.k,$PRE.PV.lvrt.pre1.u,$PRE.PV.lvrt.timer1.entryTime,$PRE.PV.lvrt.timer1.u,$PRE.PV.lvrt.timer.entryTime,$PRE.PV.lvrt.timer.u,$PRE.PV.hvrt.pre1.u,$PRE.PV.hvrt.timer1.entryTime,$PRE.PV.hvrt.timer1.u,$PRE.PV.hvrt.timer.entryTime,$PRE.PV.hvrt.timer.u,$PRE.PV.wecc_regc.offDelay.u,PV.lvrt.tThresholdReached,PV.lvrt.or1.u[2],PV.lvrt.or1.u[1],PV.lvrt.pre1.u,PV.lvrt.timer1.entryTime,PV.lvrt.timer1.u,PV.lvrt.timer.entryTime,PV.lvrt.timer.u,PV.lvrt.switchOffSignal,PV.hvrt.tThresholdReached,PV.hvrt.pre1.u,PV.hvrt.or1.u[2],PV.hvrt.or1.u[1],PV.hvrt.timer1.entryTime,PV.hvrt.timer1.u,PV.hvrt.timer.entryTime,PV.hvrt.timer.u,PV.hvrt.switchOffSignal,PV.wecc_repc.freeze,PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,PV.injector.switchOffSignal3,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,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition26,$whenCondition25,$whenCondition27,$whenCondition28,$whenCondition29) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 498 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009251/0.316, allocations: 0.6685 MB / 0.5312 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007492/0.3167, allocations: 458.6 kB / 0.5317 GB, free: 25.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3201, allocations: 1.985 MB / 0.5336 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.3202, allocations: 28 kB / 0.5336 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3202, allocations: 4 kB / 0.5336 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.3202, allocations: 13.78 kB / 0.5336 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007173/0.3274, allocations: 4.69 MB / 0.5382 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.3274, allocations: 4 kB / 0.5382 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.3292, allocations: 471.6 kB / 0.5387 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000706/0.3299, allocations: 320.4 kB / 0.539 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.33, allocations: 75.95 kB / 0.539 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.3324, allocations: 2.459 MB / 0.5414 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3324, allocations: 4 kB / 0.5415 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.3373, allocations: 3.036 MB / 0.5444 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/0.3388, allocations: 0.7381 MB / 0.5451 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.3393, allocations: 75.98 kB / 0.5452 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.3405, allocations: 163.9 kB / 0.5454 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/0.3409, allocations: 261 kB / 0.5456 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.341, allocations: 71.97 kB / 0.5457 GB, free: 11.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.3424, allocations: 1.309 MB / 0.547 GB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3424, allocations: 0 / 0.547 GB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003364/0.3457, allocations: 1.703 MB / 0.5486 GB, free: 8.539 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (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,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.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.hvrt.filter.y,PV.lvrt.filter.y) * Number of discrete variables: 63 ($whenCondition29,$whenCondition28,$whenCondition27,$whenCondition25,$whenCondition26,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$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.injector.switchOffSignal3,PV.injector.running,PV.injector.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze,PV.hvrt.switchOffSignal,PV.hvrt.timer.u,PV.hvrt.timer.entryTime,PV.hvrt.timer1.u,PV.hvrt.timer1.entryTime,PV.hvrt.or1.u[1],PV.hvrt.or1.u[2],PV.hvrt.pre1.u,PV.hvrt.tThresholdReached,PV.lvrt.switchOffSignal,PV.lvrt.timer.u,PV.lvrt.timer.entryTime,PV.lvrt.timer1.u,PV.lvrt.timer1.entryTime,PV.lvrt.pre1.u,PV.lvrt.or1.u[1],PV.lvrt.or1.u[2],PV.lvrt.tThresholdReached) * Number of discrete states: 11 (PV.lvrt.switchOffSignal,PV.hvrt.switchOffSignal,PV.HvTfo.running,PV.LvTfo.running,line.running,PV.hvrt.pre1.u,PV.lvrt.pre1.u,PV.lvrt.tThresholdReached,PV.injector.running,PV.hvrt.tThresholdReached,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (268): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 22 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.3469, allocations: 0.5278 MB / 0.5491 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006595/0.3535, allocations: 4.251 MB / 0.5533 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.3535, allocations: 0 / 0.5533 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.3552, allocations: 1.089 MB / 0.5544 GB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.3571, allocations: 0.616 MB / 0.555 GB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.3651, allocations: 6.03 MB / 0.5608 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.3656, allocations: 0.5798 MB / 0.5614 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001668/0.3673, allocations: 450.3 kB / 0.5618 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/0.3687, allocations: 0.6659 MB / 0.5625 GB, free: 10.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3687, allocations: 0 / 0.5625 GB, free: 10.59 MB / 458.7 MB Notification: Performance of Templates: time 0.0617/0.4304, allocations: 51.01 MB / 0.6123 GB, free: 8.051 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -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.PVCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_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.8547909879125655]