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.001466/0.001466, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.001548/0.001548, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.38/1.38, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.6473/0.6473, allocations: 90.63 MB / 328.3 MB, free: 14.63 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.705e-06/2.705e-06, allocations: 0 / 433 MB, free: 6.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.956e-05/4.227e-05, allocations: 2.312 kB / 433 MB, free: 6.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.02927/0.02932, allocations: 12.97 MB / 446 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0235/0.05282, allocations: 6.412 MB / 452.4 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005337/0.05815, allocations: 95.38 kB / 452.5 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.06268, allocations: 0.7239 MB / 453.2 MB, free: 1.969 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.008134/0.07082, allocations: 1.261 MB / 454.5 MB, free: 0.6992 MB / 426.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.009384/0.0802, allocations: 2.897 MB / 457.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.09032, allocations: 5.004 MB / 462.4 MB, free: 8.785 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.09461, allocations: 1.173 MB / 463.6 MB, free: 7.543 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.09858, allocations: 1.698 MB / 465.3 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.1019, allocations: 1.479 MB / 466.7 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.1038, allocations: 0.5312 MB / 467.3 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.1064, allocations: 0.851 MB / 468.1 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.1085, allocations: 1.067 MB / 469.2 MB, free: 1.898 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.1116, allocations: 1.348 MB / 470.5 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2084/0.32, allocations: 6.628 MB / 477.2 MB, free: 60.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.32, allocations: 0 / 477.2 MB, free: 60.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.068e-06/0.32, allocations: 1.531 kB / 477.2 MB, free: 60.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002075/0.3202, allocations: 0 / 477.2 MB, free: 60.04 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.01609/0.3363, allocations: 5.366 MB / 482.5 MB, free: 58.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3363, allocations: 8.531 kB / 482.5 MB, free: 58.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00564/0.342, allocations: 1.378 MB / 483.9 MB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.3468, allocations: 2.544 MB / 486.5 MB, free: 57.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005681/0.3474, allocations: 0.9638 MB / 487.4 MB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.3479, allocations: 291.5 kB / 487.7 MB, free: 56.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006634/0.3545, allocations: 3.747 MB / 491.5 MB, free: 55.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.3546, allocations: 6.344 kB / 491.5 MB, free: 55.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.3549, allocations: 116.1 kB / 491.6 MB, free: 55.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.3549, allocations: 66.31 kB / 491.6 MB, free: 55.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.3609, allocations: 2.891 MB / 494.5 MB, free: 54.62 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.01978/0.3806, allocations: 9.754 MB / 0.4925 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/0.3885, allocations: 2.915 MB / 0.4953 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.3914, allocations: 1.17 MB / 0.4965 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.3917, allocations: 51.58 kB / 0.4965 GB, free: 47.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004085/0.3957, allocations: 1.654 MB / 0.4981 GB, free: 46.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 9.628e-06/0.3957, allocations: 0 / 0.4981 GB, free: 46.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.01397/0.4097, allocations: 4.442 MB / 0.5025 GB, free: 44.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.4099, allocations: 481.1 kB / 0.5029 GB, free: 44.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008321/0.4182, allocations: 2.713 MB / 0.5056 GB, free: 43.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006934/0.4189, allocations: 78.2 kB / 0.5056 GB, free: 43.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.4208, allocations: 1.469 MB / 0.5071 GB, free: 42.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/0.4222, allocations: 0.808 MB / 0.5079 GB, free: 41.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/0.4247, allocations: 0.671 MB / 0.5085 GB, free: 41.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.4248, allocations: 305.1 kB / 0.5088 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/0.4285, allocations: 1.548 MB / 0.5103 GB, free: 40.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/0.4325, allocations: 2.469 MB / 0.5127 GB, free: 38.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02736/0.4598, allocations: 8.084 MB / 0.5206 GB, free: 35.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/0.4599, allocations: 3.969 kB / 0.5206 GB, free: 35.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01352/0.4734, allocations: 4.702 MB / 0.5252 GB, free: 31.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-05/0.4735, allocations: 69.75 kB / 0.5253 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.4735, allocations: 13.97 kB / 0.5253 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.4749, allocations: 432.5 kB / 0.5257 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.4787, allocations: 0.7578 MB / 0.5265 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.4834, allocations: 2.983 MB / 0.5294 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/0.4875, allocations: 390 kB / 0.5297 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007856/0.4883, allocations: 132 kB / 0.5299 GB, free: 26.45 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.005488/0.4938, allocations: 2.151 MB / 0.532 GB, free: 24.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003775/0.4976, allocations: 2.403 MB / 0.5343 GB, free: 21.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02553/0.5231, allocations: 7.943 MB / 0.5421 GB, free: 13.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.321e-05/0.5231, allocations: 0.7031 kB / 0.5421 GB, free: 13.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=470) (initialization_lambda0): time 0.01175/0.5349, allocations: 4.609 MB / 0.5466 GB, free: 8.988 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.5349, allocations: 65.67 kB / 0.5466 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.535, allocations: 10.3 kB / 0.5466 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5361, allocations: 433.3 kB / 0.5471 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/0.5396, allocations: 0.7417 MB / 0.5478 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.5439, allocations: 2.982 MB / 0.5507 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/0.5479, allocations: 366.3 kB / 0.551 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006568/0.5486, allocations: 120 kB / 0.5512 GB, free: 4.246 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: 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.001558/0.5501, allocations: 0.5003 MB / 0.5516 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/0.5516, allocations: 401.9 kB / 0.552 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/0.5595, allocations: 3.279 MB / 0.5552 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5595, allocations: 24 kB / 0.5553 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.5595, allocations: 4 kB / 0.5553 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5596, allocations: 15.95 kB / 0.5553 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/0.5793, allocations: 6.492 MB / 0.5616 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.5794, allocations: 8 kB / 0.5616 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/0.5826, allocations: 486.2 kB / 0.5621 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.5841, allocations: 429.2 kB / 0.5625 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004028/0.5845, allocations: 63.97 kB / 0.5626 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.5903, allocations: 2.961 MB / 0.5654 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.5904, allocations: 7.188 kB / 0.5655 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.6054, allocations: 5.292 MB / 0.5706 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/0.6081, allocations: 0.6767 MB / 0.5713 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/0.6092, allocations: 59.98 kB / 0.5713 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/0.6122, allocations: 199.7 kB / 0.5715 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/0.6129, allocations: 194.8 kB / 0.5717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/0.6131, allocations: 75.97 kB / 0.5718 GB, free: 15.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005018/0.6182, allocations: 1.75 MB / 0.5735 GB, free: 13.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6182, allocations: 0 / 0.5735 GB, free: 13.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007351/0.6255, allocations: 1.563 MB / 0.575 GB, free: 11.7 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.002793/0.6283, allocations: 0.5219 MB / 0.5755 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01746/0.6458, allocations: 5.965 MB / 0.5814 GB, free: 5.512 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.6458, allocations: 4.062 kB / 0.5814 GB, free: 5.508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00584/0.6516, allocations: 1.808 MB / 0.5831 GB, free: 3.746 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/0.6568, allocations: 0.5474 MB / 0.5837 GB, free: 3.223 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.6764, allocations: 6.413 MB / 0.5899 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.6795, allocations: 1.367 MB / 0.5913 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00426/0.6838, allocations: 423.5 kB / 0.5917 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.6852, allocations: 194 kB / 0.5918 GB, free: 10.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.034e-06/0.6852, allocations: 8 kB / 0.5919 GB, free: 10.69 MB / 490.7 MB Notification: Performance of Templates: time 0.09218/0.7774, allocations: 43.73 MB / 0.6346 GB, free: 15.29 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=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.699543361086398]