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.001188/0.001188, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009091/0.0009091, allocations: 169 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.777/0.777, allocations: 158.6 MB / 186 MB, free: 2.77 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.4147/0.4147, allocations: 90.87 MB / 329.2 MB, free: 14.22 MB / 314.7 MB " [Timeout remaining time 180] 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.312e-06/1.312e-06, allocations: 0 / 385.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.122e-05, allocations: 10.25 kB / 385.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01069/0.01071, allocations: 13.45 MB / 399.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008768/0.01948, allocations: 6.739 MB / 405.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.02059, allocations: 91.38 kB / 406 MB, free: 1.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.02167, allocations: 0.755 MB / 406.8 MB, free: 1.055 MB / 378.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.001838/0.02351, allocations: 1.277 MB / 408 MB, free: 15.77 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113: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.003204/0.02672, allocations: 2.912 MB / 411 MB, free: 12.85 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.02983, allocations: 5.019 MB / 416 MB, free: 7.824 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.031, allocations: 1.223 MB / 417.2 MB, free: 6.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.03251, allocations: 1.71 MB / 418.9 MB, free: 4.801 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.03368, allocations: 1.499 MB / 420.4 MB, free: 3.297 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.03414, allocations: 0.5312 MB / 420.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.03512, allocations: 0.8549 MB / 421.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.03569, allocations: 1.074 MB / 422.9 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007969/0.03648, allocations: 1.344 MB / 424.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.03941, allocations: 3.553 MB / 427.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.03942, allocations: 0 / 427.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.03942, allocations: 4 kB / 427.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.03944, allocations: 0 / 427.8 MB, free: 11.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.006406/0.04584, allocations: 5.304 MB / 433.1 MB, free: 6.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.04588, allocations: 12.03 kB / 433.1 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.04862, allocations: 1.324 MB / 434.4 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.05041, allocations: 1.53 MB / 435.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.05077, allocations: 0.8582 MB / 436.8 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.05102, allocations: 299.9 kB / 437.1 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.05335, allocations: 2.592 MB / 439.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.05339, allocations: 0 / 439.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.05353, allocations: 116 kB / 439.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.05357, allocations: 71.94 kB / 439.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.05478, allocations: 0.8608 MB / 440.7 MB, free: 14.4 MB / 426.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.006917/0.0617, allocations: 6.883 MB / 447.6 MB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.0634, allocations: 1.301 MB / 448.9 MB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.06385, allocations: 355.6 kB / 449.3 MB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.06401, allocations: 53.97 kB / 449.3 MB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008466/0.06486, allocations: 0.8914 MB / 450.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 3.266e-06/0.06486, allocations: 0 / 450.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=229): time 0.002732/0.0676, allocations: 1.663 MB / 451.9 MB, free: 3.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.06773, allocations: 474.9 kB / 452.3 MB, free: 2.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.06929, allocations: 2.12 MB / 454.4 MB, free: 352 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.0694, allocations: 77.69 kB / 454.5 MB, free: 268 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.06992, allocations: 1.087 MB / 455.6 MB, free: 15.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.07033, allocations: 0.829 MB / 456.4 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000637/0.07097, allocations: 0.6837 MB / 457.1 MB, free: 13.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.07103, allocations: 301.1 kB / 457.4 MB, free: 13.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009489/0.07198, allocations: 0.6537 MB / 458.1 MB, free: 12.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.07323, allocations: 1.53 MB / 459.6 MB, free: 10.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.07626, allocations: 2.773 MB / 462.4 MB, free: 7.941 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.07627, allocations: 0 / 462.4 MB, free: 7.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003119/0.07938, allocations: 2.454 MB / 464.8 MB, free: 5.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.07944, allocations: 69.66 kB / 464.9 MB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.07945, allocations: 8 kB / 464.9 MB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.08004, allocations: 312.6 kB / 465.2 MB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.08162, allocations: 0.7255 MB / 465.9 MB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.08345, allocations: 1.831 MB / 467.8 MB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.08446, allocations: 338 kB / 468.1 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.08459, allocations: 99.98 kB / 468.2 MB, free: 1.988 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.00149/0.08608, allocations: 0.9173 MB / 469.1 MB, free: 1.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1492/0.2353, allocations: 1.513 MB / 470.6 MB, free: 73.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003778/0.2391, allocations: 2.748 MB / 473.4 MB, free: 73.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-05/0.2391, allocations: 3.703 kB / 473.4 MB, free: 73.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=475) (initialization_lambda0): time 0.003622/0.2427, allocations: 2.443 MB / 475.8 MB, free: 73.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.2427, allocations: 65.97 kB / 475.9 MB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.2428, allocations: 8.594 kB / 475.9 MB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.2433, allocations: 321.5 kB / 476.2 MB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.2449, allocations: 0.7128 MB / 476.9 MB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.2465, allocations: 1.835 MB / 478.7 MB, free: 71.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.2476, allocations: 321.3 kB / 479.1 MB, free: 71.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.2478, allocations: 93.8 kB / 479.2 MB, free: 71.94 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.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.wecc_repc.limPID.I.local_reset,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,PV.injector.switchOffSignal1,PV.injector.switchOffSignal2,PV.injector.switchOffSignal3,$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.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (438): * Single equations (assignments): 436 * 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.0005475/0.2483, allocations: 0.5048 MB / 479.7 MB, free: 71.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.2486, allocations: 261.7 kB / 479.9 MB, free: 71.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.2505, allocations: 1.437 MB / 481.4 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2505, allocations: 24.31 kB / 481.4 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2505, allocations: 7.062 kB / 481.4 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.2505, allocations: 11.44 kB / 481.4 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.2547, allocations: 3.34 MB / 484.7 MB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2547, allocations: 11.88 kB / 484.7 MB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.2559, allocations: 444 kB / 485.2 MB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.2564, allocations: 310 kB / 485.5 MB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.2565, allocations: 61.2 kB / 485.5 MB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.258, allocations: 1.822 MB / 487.4 MB, free: 69.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.258, allocations: 7.062 kB / 487.4 MB, free: 69.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.2603, allocations: 2.177 MB / 489.5 MB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.2609, allocations: 343.9 kB / 489.9 MB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.2611, allocations: 66.02 kB / 489.9 MB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.2618, allocations: 145.1 kB / 490.1 MB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.2621, allocations: 192.1 kB / 490.3 MB, free: 69.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/0.2621, allocations: 55.16 kB / 490.3 MB, free: 69.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007998/0.2629, allocations: 1.093 MB / 491.4 MB, free: 69.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2629, allocations: 0 / 491.4 MB, free: 69.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001944/0.2649, allocations: 1.575 MB / 493 MB, free: 69.25 MB / 442.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 (226): * Single equations (assignments): 215 * 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.001077/0.266, allocations: 0.5807 MB / 493.6 MB, free: 69.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.2699, allocations: 3.676 MB / 497.3 MB, free: 66.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/0.2699, allocations: 31.02 kB / 497.3 MB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.2708, allocations: 0.8742 MB / 498.2 MB, free: 65.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.272, allocations: 0.5352 MB / 498.7 MB, free: 65.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.2774, allocations: 5.48 MB / 0.4924 GB, free: 60.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2778, allocations: 0.5295 MB / 0.4929 GB, free: 59.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.2788, allocations: 460.8 kB / 0.4933 GB, free: 59.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/0.2798, allocations: 0.5298 MB / 0.4938 GB, free: 58.84 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2798, allocations: 0 / 0.4938 GB, free: 58.84 MB / 442.7 MB Notification: Performance of Templates: time 0.04198/0.3218, allocations: 47.71 MB / 0.5404 GB, free: 12.88 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1031354940496385]