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.0008175/0.0008175, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0007969/0.0007969, allocations: 169.2 kB / 23.98 MB, free: 0.582 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.8764/0.8764, allocations: 158.6 MB / 185.8 MB, free: 3.035 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.4279/0.4279, allocations: 90.27 MB / 328.3 MB, free: 15 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld 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.545e-06/2.545e-06, allocations: 2.203 kB / 0.5013 GB, free: 16.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.949e-05, allocations: 5.672 kB / 0.5013 GB, free: 16.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01071/0.01074, allocations: 12.92 MB / 0.5139 GB, free: 8.082 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009333/0.02007, allocations: 6.38 MB / 0.5201 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.02177, allocations: 92.78 kB / 0.5202 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.02311, allocations: 0.7314 MB / 0.5209 GB, free: 3 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.002098/0.02521, allocations: 1.261 MB / 0.5222 GB, free: 2.105 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/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.003639/0.02885, allocations: 2.909 MB / 0.525 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.03328, allocations: 5.008 MB / 0.5299 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.03478, allocations: 1.163 MB / 0.531 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.03658, allocations: 1.69 MB / 0.5327 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.03781, allocations: 1.487 MB / 0.5341 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005388/0.03835, allocations: 0.5268 MB / 0.5346 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.03953, allocations: 0.8485 MB / 0.5355 GB, free: 9.316 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.04011, allocations: 1.059 MB / 0.5365 GB, free: 8.254 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000928/0.04104, allocations: 1.34 MB / 0.5378 GB, free: 6.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.04581, allocations: 6.617 MB / 0.5443 GB, free: 280 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.04582, allocations: 0 / 0.5443 GB, free: 280 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.04582, allocations: 0 / 0.5443 GB, free: 280 kB / 458.7 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.04585, allocations: 0 / 0.5443 GB, free: 280 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 686 * Number of variables: 686 Notification: Performance of Generate backend data structure: time 0.008359/0.05421, allocations: 5.358 MB / 0.5495 GB, free: 10.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.05426, allocations: 8.031 kB / 0.5495 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.05681, allocations: 1.037 MB / 0.5505 GB, free: 9.781 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.05938, allocations: 2.442 MB / 0.5529 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/0.05981, allocations: 0.9702 MB / 0.5539 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.06008, allocations: 280.3 kB / 0.5541 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/0.06421, allocations: 3.726 MB / 0.5578 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.06424, allocations: 3.938 kB / 0.5578 GB, free: 1.891 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.06442, allocations: 112 kB / 0.5579 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.06446, allocations: 64 kB / 0.5579 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.06809, allocations: 2.865 MB / 0.5607 GB, free: 14.84 MB / 490.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.009858/0.07795, allocations: 9.599 MB / 0.5701 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.08189, allocations: 2.88 MB / 0.5729 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.08335, allocations: 1.154 MB / 0.574 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.0835, allocations: 41.97 kB / 0.5741 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/0.08557, allocations: 1.63 MB / 0.5757 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=223): time 3.737e-06/0.08557, allocations: 0 / 0.5757 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223): time 0.006615/0.09219, allocations: 4.317 MB / 0.5799 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.09235, allocations: 474.9 kB / 0.5803 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.09547, allocations: 2.708 MB / 0.583 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.09562, allocations: 81.8 kB / 0.5831 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008847/0.0965, allocations: 1.477 MB / 0.5845 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/0.09708, allocations: 0.7981 MB / 0.5853 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007312/0.09781, allocations: 0.6643 MB / 0.5859 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.09789, allocations: 301.1 kB / 0.5862 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.09982, allocations: 1.546 MB / 0.5877 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.1023, allocations: 2.45 MB / 0.5901 GB, free: 96 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.1155, allocations: 8.006 MB / 0.598 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.1155, allocations: 4 kB / 0.598 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.006224/0.1217, allocations: 4.532 MB / 0.6024 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.1218, allocations: 69.66 kB / 0.6024 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.1218, allocations: 8 kB / 0.6025 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.1224, allocations: 372.8 kB / 0.6028 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.1244, allocations: 0.7567 MB / 0.6035 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.1276, allocations: 2.965 MB / 0.6064 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.1294, allocations: 382.1 kB / 0.6068 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.1295, allocations: 120 kB / 0.6069 GB, free: 14.57 MB / 0.5261 GB Warning: Assuming fixed start value for the following 28 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.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003107/0.1326, allocations: 2.158 MB / 0.609 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002402/0.135, allocations: 2.396 MB / 0.6114 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0129/0.1479, allocations: 7.862 MB / 0.619 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.109e-05/0.1479, allocations: 0 / 0.619 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=466) (initialization_lambda0): time 0.005824/0.1538, allocations: 4.43 MB / 0.6234 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.1538, allocations: 69.66 kB / 0.6234 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1538, allocations: 8 kB / 0.6234 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.1543, allocations: 377.3 kB / 0.6238 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.1561, allocations: 0.7411 MB / 0.6245 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.1591, allocations: 2.956 MB / 0.6274 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.1608, allocations: 358.6 kB / 0.6278 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.1609, allocations: 120 kB / 0.6279 GB, free: 8.547 MB / 0.5417 GB Warning: Assuming fixed start value for the following 28 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.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: 39 * Number of states: 0 () * Number of discrete variables: 55 ($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.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.injector.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.injector.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,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,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_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 428 * 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.0008009/0.1617, allocations: 0.4974 MB / 0.6284 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.162, allocations: 325.9 kB / 0.6287 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/0.1667, allocations: 3.255 MB / 0.6319 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.1668, allocations: 23.98 kB / 0.6319 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1668, allocations: 4 kB / 0.6319 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.1668, allocations: 11.95 kB / 0.6319 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007669/0.1744, allocations: 6.421 MB / 0.6382 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.1744, allocations: 4 kB / 0.6382 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.1759, allocations: 475.5 kB / 0.6386 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.1764, allocations: 372.7 kB / 0.639 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.1765, allocations: 63.91 kB / 0.639 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.1793, allocations: 2.936 MB / 0.6419 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.1793, allocations: 11.98 kB / 0.6419 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.1858, allocations: 5.162 MB / 0.647 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008745/0.1867, allocations: 0.6734 MB / 0.6476 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.1869, allocations: 59.98 kB / 0.6477 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.1879, allocations: 191.8 kB / 0.6478 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.1882, allocations: 193.5 kB / 0.648 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.1883, allocations: 83.91 kB / 0.6481 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001779/0.19, allocations: 1.75 MB / 0.6498 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.19, allocations: 0 / 0.6498 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002662/0.1927, allocations: 1.559 MB / 0.6513 GB, free: 180 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 21 (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]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$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.running,PV.injector.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze) * Number of discrete states: 5 (PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.000916/0.1936, allocations: 0.5018 MB / 0.6518 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007831/0.2015, allocations: 5.937 MB / 0.6576 GB, free: 9.832 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2015, allocations: 0 / 0.6576 GB, free: 9.832 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.2038, allocations: 1.792 MB / 0.6594 GB, free: 8.023 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.2055, allocations: 481.2 kB / 0.6598 GB, free: 7.574 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.2131, allocations: 6.337 MB / 0.666 GB, free: 1.129 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.2142, allocations: 1.363 MB / 0.6674 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.2149, allocations: 212.4 kB / 0.6676 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.2149, allocations: 0 / 0.6676 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of Templates: time 0.2982/0.5131, allocations: 62.46 MB / 0.7286 GB, free: 145.6 MB / 0.5886 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.543247576802969]