Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.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.001132/0.001132, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.001154/0.001154, allocations: 177.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9695/0.9695, allocations: 158.6 MB / 185 MB, free: 3.055 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.4715/0.4715, allocations: 90.27 MB / 327.5 MB, free: 15.06 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.5 GB, free: 16.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.764e-05, allocations: 2.281 kB / 0.5 GB, free: 16.89 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.0129/0.01293, allocations: 13.89 MB / 0.5136 GB, free: 7.586 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.02401, allocations: 6.719 MB / 0.5202 GB, free: 2.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.02763, allocations: 97.75 kB / 0.5203 GB, free: 2.695 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.03085, allocations: 0.7823 MB / 0.521 GB, free: 2.211 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005479/0.03633, allocations: 1.574 MB / 0.5226 GB, free: 1.121 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:130:3-130:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.04192, allocations: 2.905 MB / 0.5254 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007592/0.04951, allocations: 5.462 MB / 0.5307 GB, free: 11.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.05206, allocations: 1.26 MB / 0.532 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.05501, allocations: 1.851 MB / 0.5338 GB, free: 9.074 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.05751, allocations: 1.627 MB / 0.5354 GB, free: 7.895 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.05883, allocations: 0.5775 MB / 0.5359 GB, free: 7.895 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.0605, allocations: 0.9121 MB / 0.5368 GB, free: 7.211 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008256/0.06133, allocations: 1.164 MB / 0.5379 GB, free: 6.043 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.0632, allocations: 1.472 MB / 0.5394 GB, free: 4.566 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006783/0.06998, allocations: 7.244 MB / 0.5465 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06999, allocations: 0 / 0.5465 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.06999, allocations: 0 / 0.5465 GB, free: 13.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001934/0.07018, allocations: 0 / 0.5465 GB, free: 13.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 750 * Number of variables: 750 Notification: Performance of Generate backend data structure: time 0.01298/0.08317, allocations: 5.981 MB / 0.5523 GB, free: 7.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.08322, allocations: 12.03 kB / 0.5523 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004199/0.08364, allocations: 413.3 kB / 0.5527 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.08702, allocations: 1.247 MB / 0.5539 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.09086, allocations: 2.652 MB / 0.5565 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004546/0.09132, allocations: 0.9863 MB / 0.5575 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.09164, allocations: 308.1 kB / 0.5578 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.09629, allocations: 4.086 MB / 0.5618 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.09633, allocations: 0 / 0.5618 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.09655, allocations: 132 kB / 0.5619 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.09659, allocations: 72 kB / 0.562 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.1009, allocations: 3.136 MB / 0.565 GB, free: 9.703 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.1138, allocations: 11.05 MB / 0.5758 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/0.1181, allocations: 2.973 MB / 0.5787 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.1197, allocations: 1.267 MB / 0.5799 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1199, allocations: 45.84 kB / 0.58 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/0.1221, allocations: 1.799 MB / 0.5817 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 5.19e-06/0.1221, allocations: 7.984 kB / 0.5818 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=247): time 0.008918/0.131, allocations: 5.141 MB / 0.5868 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.1312, allocations: 0.5179 MB / 0.5873 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.1353, allocations: 3.328 MB / 0.5905 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.1356, allocations: 81.69 kB / 0.5906 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.1369, allocations: 1.562 MB / 0.5921 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000864/0.1378, allocations: 0.8834 MB / 0.593 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009901/0.1388, allocations: 0.7717 MB / 0.5937 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.1388, allocations: 305.1 kB / 0.594 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.1412, allocations: 1.765 MB / 0.5958 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.1443, allocations: 2.761 MB / 0.5985 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/0.1609, allocations: 9.098 MB / 0.6073 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.1609, allocations: 0 / 0.6073 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=545) (initialization): time 0.008015/0.1689, allocations: 5.344 MB / 0.6126 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.169, allocations: 70.38 kB / 0.6126 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.169, allocations: 8 kB / 0.6126 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/0.1698, allocations: 0.5434 MB / 0.6132 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.1719, allocations: 0.8425 MB / 0.614 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.1763, allocations: 3.939 MB / 0.6178 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.1787, allocations: 465.3 kB / 0.6183 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.1789, allocations: 152 kB / 0.6184 GB, free: 2 MB / 0.5261 GB Warning: Assuming fixed start value for the following 36 variables: 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) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.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_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.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.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.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_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.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003983/0.1829, allocations: 2.448 MB / 0.6208 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002732/0.1856, allocations: 2.703 MB / 0.6235 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01557/0.2012, allocations: 8.957 MB / 0.6322 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.304e-05/0.2012, allocations: 0 / 0.6322 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=545) (initialization_lambda0): time 0.00765/0.2089, allocations: 5.239 MB / 0.6373 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.2089, allocations: 77.59 kB / 0.6374 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2089, allocations: 16.06 kB / 0.6374 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.2096, allocations: 0.5318 MB / 0.6379 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.2116, allocations: 0.8269 MB / 0.6387 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.2162, allocations: 3.931 MB / 0.6426 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.2191, allocations: 398.1 kB / 0.643 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.2193, allocations: 140 kB / 0.6431 GB, free: 8.137 MB / 0.5573 GB Warning: Assuming fixed start value for the following 36 variables: 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) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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) PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.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_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.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.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.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_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.iSource0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.iSource0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real 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: 44 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition10,$whenCondition9,$whenCondition11,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.PV.HvTfo.state,PV.HvTfo.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.HvTfo.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running,$PRE.PV.LvTfo.running,PV.wecc_regc.QConv0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QConv0PuPos.y,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.QConv0PuNeg.y,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.LvTfo.running,PV.source.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,PV.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 499 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.2206, allocations: 0.5665 MB / 0.6436 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.2212, allocations: 385.5 kB / 0.644 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/0.2271, allocations: 3.685 MB / 0.6476 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.2271, allocations: 24 kB / 0.6476 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.2271, allocations: 7.938 kB / 0.6476 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.2271, allocations: 16.17 kB / 0.6477 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009207/0.2363, allocations: 7.332 MB / 0.6548 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.2364, allocations: 8.719 kB / 0.6548 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.2378, allocations: 0.4915 MB / 0.6553 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/0.2385, allocations: 0.5276 MB / 0.6558 GB, free: 10.97 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.2386, allocations: 71.97 kB / 0.6559 GB, free: 10.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.2428, allocations: 3.927 MB / 0.6597 GB, free: 6.859 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.2428, allocations: 11.92 kB / 0.6597 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/0.2503, allocations: 5.904 MB / 0.6655 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.2516, allocations: 0.8014 MB / 0.6663 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.2519, allocations: 71.92 kB / 0.6663 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.253, allocations: 191.7 kB / 0.6665 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/0.2534, allocations: 209.5 kB / 0.6667 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.2535, allocations: 87.91 kB / 0.6668 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00261/0.2561, allocations: 2.155 MB / 0.6689 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.2561, allocations: 0 / 0.6689 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003773/0.2599, allocations: 1.708 MB / 0.6706 GB, free: 11.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 23 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.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) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.HvTfo.running,PV.HvTfo.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.source.running,PV.source.state,PV.LvTfo.running,PV.LvTfo.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.LvTfo.running,PV.source.running,PV.HvTfo.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00866/0.2685, allocations: 6.895 MB / 0.6773 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2317/0.5002, allocations: 6.798 MB / 0.684 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.5002, allocations: 7.094 kB / 0.684 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003571/0.5038, allocations: 1.978 MB / 0.6859 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.5064, allocations: 0.5462 MB / 0.6864 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0597/0.5661, allocations: 32.87 MB / 0.7185 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.5674, allocations: 1.488 MB / 0.72 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001763/0.5691, allocations: 481.7 kB / 0.7204 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.5705, allocations: 1.572 MB / 0.722 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.853e-06/0.5705, allocations: 0 / 0.722 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.6868, allocations: 87.5 MB / 0.8074 GB, free: 66.92 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.89, allocations: 15.42 kB / 0.8074 GB, free: 66.91 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.HvMeasurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.HvMeasurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! Error: Could not read variable PV.HvMeasurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.HvMeasurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! Error: Could not read variable PV.HvMeasurements.UPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.HvMeasurements.UPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.275569774210453]