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.002558/0.002558, allocations: 91.48 kB / 20.24 MB, free: 4.168 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.002944/0.002944, allocations: 153.4 kB / 23.54 MB, free: 0.8633 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 1.319/1.319, allocations: 158.6 MB / 185.3 MB, free: 2.895 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.7186/0.7186, allocations: 90.61 MB / 328.3 MB, free: 14.59 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 1.653e-06/1.653e-06, allocations: 0 / 433 MB, free: 6.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.669e-05, allocations: 6.25 kB / 433 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.02191/0.02194, allocations: 13.75 MB / 446.8 MB, free: 8.406 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.03648, allocations: 6.482 MB / 453.2 MB, free: 1.906 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.03993, allocations: 95.38 kB / 453.3 MB, free: 1.812 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.04256, allocations: 0.7317 MB / 454.1 MB, free: 1.074 MB / 426.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.005266/0.04782, allocations: 1.265 MB / 455.3 MB, free: 15.8 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70: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:66:5-70: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:71:5-75: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:71:5-75: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.007465/0.05529, allocations: 2.908 MB / 458.2 MB, free: 12.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009252/0.06454, allocations: 5.004 MB / 463.2 MB, free: 7.871 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.0676, allocations: 1.165 MB / 464.4 MB, free: 6.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.07093, allocations: 1.702 MB / 466.1 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.07384, allocations: 1.491 MB / 467.6 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009968/0.07484, allocations: 0.5273 MB / 468.1 MB, free: 2.902 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.07651, allocations: 0.8549 MB / 469 MB, free: 2.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.07763, allocations: 1.07 MB / 470.1 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2108/0.2885, allocations: 1.34 MB / 471.4 MB, free: 59.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.2956, allocations: 6.641 MB / 478 MB, free: 58.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2956, allocations: 0 / 478 MB, free: 58.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2956, allocations: 2.812 kB / 478 MB, free: 58.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.2957, allocations: 0 / 478 MB, free: 58.89 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01432/0.3101, allocations: 5.873 MB / 483.9 MB, free: 56.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3101, allocations: 11.5 kB / 483.9 MB, free: 56.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.3156, allocations: 1.391 MB / 485.3 MB, free: 56.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.3195, allocations: 2.533 MB / 487.9 MB, free: 55.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/0.32, allocations: 0.9647 MB / 488.8 MB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.3204, allocations: 291.2 kB / 489.1 MB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/0.3263, allocations: 3.955 MB / 493.1 MB, free: 53.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.3264, allocations: 7.141 kB / 493.1 MB, free: 53.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.3266, allocations: 112.8 kB / 493.2 MB, free: 53.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.3266, allocations: 67.28 kB / 493.2 MB, free: 53.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/0.3318, allocations: 2.678 MB / 495.9 MB, free: 52.69 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.02337/0.3552, allocations: 17.29 MB / 0.5012 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.3616, allocations: 2.766 MB / 0.5039 GB, free: 41.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/0.3641, allocations: 1.105 MB / 0.505 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.3643, allocations: 54.05 kB / 0.505 GB, free: 40.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003255/0.3676, allocations: 1.708 MB / 0.5067 GB, free: 40.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 4.418e-06/0.3676, allocations: 0 / 0.5067 GB, free: 40.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.01125/0.3788, allocations: 4.185 MB / 0.5108 GB, free: 38.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.379, allocations: 475.3 kB / 0.5112 GB, free: 38.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/0.3839, allocations: 3.526 MB / 0.5147 GB, free: 36.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004167/0.3844, allocations: 76.33 kB / 0.5147 GB, free: 36.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.3857, allocations: 1.76 MB / 0.5165 GB, free: 35.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/0.3866, allocations: 0.9202 MB / 0.5174 GB, free: 34.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.388, allocations: 0.9288 MB / 0.5183 GB, free: 34.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.388, allocations: 479.9 kB / 0.5187 GB, free: 33.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.3906, allocations: 1.406 MB / 0.5201 GB, free: 33.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/0.3938, allocations: 2.625 MB / 0.5227 GB, free: 31.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/0.4014, allocations: 4.993 MB / 0.5275 GB, free: 26.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/0.4014, allocations: 4 kB / 0.5275 GB, free: 26.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.008419/0.4099, allocations: 4.507 MB / 0.5319 GB, free: 22.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.4099, allocations: 65.23 kB / 0.532 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4099, allocations: 9.016 kB / 0.532 GB, free: 22.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4111, allocations: 444.6 kB / 0.5324 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.4145, allocations: 0.7192 MB / 0.5331 GB, free: 21.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.419, allocations: 3.566 MB / 0.5366 GB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.4224, allocations: 341.7 kB / 0.5369 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/0.4228, allocations: 125.5 kB / 0.5371 GB, free: 17.52 MB / 442.7 MB 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.004208/0.427, allocations: 2.06 MB / 0.5391 GB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002943/0.4299, allocations: 2.581 MB / 0.5416 GB, free: 12.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00712/0.437, allocations: 4.885 MB / 0.5464 GB, free: 7.559 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.308e-05/0.437, allocations: 4 kB / 0.5464 GB, free: 7.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.008345/0.4454, allocations: 4.433 MB / 0.5507 GB, free: 3.148 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.4454, allocations: 61.67 kB / 0.5508 GB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4455, allocations: 11.36 kB / 0.5508 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.4466, allocations: 447 kB / 0.5512 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.4498, allocations: 0.7021 MB / 0.5519 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.455, allocations: 3.581 MB / 0.5554 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/0.4588, allocations: 318.4 kB / 0.5557 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.4592, allocations: 128 kB / 0.5558 GB, free: 13.86 MB / 458.7 MB 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 (434): * Single equations (assignments): 432 * 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.001267/0.4605, allocations: 0.5826 MB / 0.5564 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.4615, allocations: 397.9 kB / 0.5567 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00853/0.47, allocations: 3.117 MB / 0.5598 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.4701, allocations: 24 kB / 0.5598 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4701, allocations: 0 / 0.5598 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.4701, allocations: 15.95 kB / 0.5598 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/0.4871, allocations: 7.422 MB / 0.5671 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4871, allocations: 4 kB / 0.5671 GB, free: 2.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00298/0.4901, allocations: 442.6 kB / 0.5675 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4914, allocations: 439.8 kB / 0.5679 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/0.4916, allocations: 63.97 kB / 0.568 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006127/0.4977, allocations: 3.549 MB / 0.5715 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4977, allocations: 4 kB / 0.5715 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.5099, allocations: 5.211 MB / 0.5765 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/0.5121, allocations: 0.6651 MB / 0.5772 GB, free: 7.773 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/0.5126, allocations: 67.98 kB / 0.5773 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.5145, allocations: 143.8 kB / 0.5774 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/0.515, allocations: 201.1 kB / 0.5776 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.5152, allocations: 83.97 kB / 0.5777 GB, free: 7.289 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003816/0.519, allocations: 1.984 MB / 0.5796 GB, free: 5.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 3.828 kB / 0.5796 GB, free: 5.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005615/0.5246, allocations: 1.563 MB / 0.5811 GB, free: 3.738 MB / 474.7 MB 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 (224): * Single equations (assignments): 213 * 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.002969/0.5276, allocations: 0.5085 MB / 0.5816 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01511/0.5427, allocations: 6.594 MB / 0.5881 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.5427, allocations: 0 / 0.5881 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004239/0.5469, allocations: 1.727 MB / 0.5898 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.5501, allocations: 0.5452 MB / 0.5903 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.5656, allocations: 6.338 MB / 0.5965 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/0.5679, allocations: 1.371 MB / 0.5978 GB, free: 2.809 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003356/0.5712, allocations: 415.5 kB / 0.5982 GB, free: 2.398 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/0.5721, allocations: 188.5 kB / 0.5984 GB, free: 2.215 MB / 490.7 MB Notification: Performance of SimCode: time 2.384e-06/0.5721, allocations: 0 / 0.5984 GB, free: 2.215 MB / 490.7 MB Notification: Performance of Templates: time 0.08933/0.6615, allocations: 44.29 MB / 0.6416 GB, free: 6.289 MB / 0.5261 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=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","/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.519699847092852]