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.0009378/0.0009378, allocations: 72.45 kB / 19.95 MB, free: 4.605 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.0009564/0.0009564, allocations: 173.2 kB / 23.23 MB, free: 1.316 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.8948/0.8948, allocations: 158.6 MB / 185 MB, free: 3.043 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.4564/0.4564, allocations: 90.26 MB / 327.5 MB, free: 15 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5 GB, free: 16.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.217e-05, allocations: 6.219 kB / 0.5 GB, free: 16.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01257/0.01259, allocations: 12.92 MB / 0.5127 GB, free: 8.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.02498, allocations: 6.39 MB / 0.5189 GB, free: 3.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.02907, allocations: 87.34 kB / 0.519 GB, free: 3.516 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.03246, allocations: 0.7362 MB / 0.5197 GB, free: 3.055 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.005623/0.03809, allocations: 1.261 MB / 0.5209 GB, free: 2.16 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation PV.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation PV.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.04455, allocations: 2.913 MB / 0.5238 GB, free: 12 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008216/0.05276, allocations: 5.001 MB / 0.5287 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.05678, allocations: 1.163 MB / 0.5298 GB, free: 11.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.06042, allocations: 1.689 MB / 0.5314 GB, free: 10.72 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.06323, allocations: 1.481 MB / 0.5329 GB, free: 9.648 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001911/0.06514, allocations: 0.526 MB / 0.5334 GB, free: 9.648 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.0676, allocations: 0.8498 MB / 0.5342 GB, free: 9.512 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.06897, allocations: 1.068 MB / 0.5353 GB, free: 8.566 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.07196, allocations: 1.337 MB / 0.5366 GB, free: 7.266 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009328/0.08129, allocations: 6.621 MB / 0.543 GB, free: 0.625 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.0813, allocations: 0 / 0.543 GB, free: 0.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.0813, allocations: 0 / 0.543 GB, free: 0.625 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002655/0.08157, allocations: 0 / 0.543 GB, free: 0.625 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 686 * Number of variables: 686 Notification: Performance of Generate backend data structure: time 0.01311/0.09468, allocations: 5.35 MB / 0.5483 GB, free: 11.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.09474, allocations: 16.03 kB / 0.5483 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00076/0.0955, allocations: 383.7 kB / 0.5487 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/0.09922, allocations: 1.033 MB / 0.5497 GB, free: 9.754 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.1042, allocations: 2.442 MB / 0.552 GB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008738/0.1051, allocations: 0.9703 MB / 0.553 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007525/0.1059, allocations: 276.3 kB / 0.5533 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/0.1119, allocations: 3.725 MB / 0.5569 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.1119, allocations: 7.922 kB / 0.5569 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.1122, allocations: 112 kB / 0.557 GB, free: 1.754 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.1122, allocations: 68 kB / 0.5571 GB, free: 1.688 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005925/0.1182, allocations: 2.869 MB / 0.5599 GB, free: 14.8 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.01778/0.1359, allocations: 10.02 MB / 0.5697 GB, free: 4.598 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005061/0.141, allocations: 2.872 MB / 0.5725 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.1434, allocations: 1.158 MB / 0.5736 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.1436, allocations: 41.97 kB / 0.5736 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002485/0.1461, allocations: 1.642 MB / 0.5752 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=223): time 7.774e-06/0.1461, allocations: 0 / 0.5752 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223): time 0.008205/0.1543, allocations: 4.352 MB / 0.5795 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/0.1545, allocations: 474.9 kB / 0.5799 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/0.1597, allocations: 3.108 MB / 0.583 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006276/0.1603, allocations: 81.7 kB / 0.5831 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.1616, allocations: 1.464 MB / 0.5845 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.163, allocations: 0.802 MB / 0.5853 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.1644, allocations: 0.6842 MB / 0.5859 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.1645, allocations: 301.1 kB / 0.5862 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.1676, allocations: 1.574 MB / 0.5878 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.1705, allocations: 2.479 MB / 0.5902 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01711/0.1876, allocations: 8.094 MB / 0.5981 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.1876, allocations: 0 / 0.5981 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of matching and sorting (n=482) (initialization): time 0.009495/0.1971, allocations: 4.647 MB / 0.6026 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1972, allocations: 69.66 kB / 0.6027 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.1973, allocations: 8.688 kB / 0.6027 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/0.198, allocations: 380.6 kB / 0.6031 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.2001, allocations: 0.7684 MB / 0.6038 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.204, allocations: 2.992 MB / 0.6067 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.207, allocations: 441.5 kB / 0.6072 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004007/0.2074, allocations: 124 kB / 0.6073 GB, free: 13.3 MB / 0.5261 GB Warning: Assuming fixed start value for the following 28 variables: PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004497/0.2119, allocations: 2.19 MB / 0.6094 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002781/0.2147, allocations: 2.429 MB / 0.6118 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01729/0.232, allocations: 7.945 MB / 0.6196 GB, free: 328 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.11e-05/0.232, allocations: 4 kB / 0.6196 GB, free: 324 kB / 0.5261 GB Notification: Performance of matching and sorting (n=482) (initialization_lambda0): time 0.009287/0.2413, allocations: 4.547 MB / 0.624 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.2414, allocations: 73.59 kB / 0.6241 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2414, allocations: 8 kB / 0.6241 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.242, allocations: 376.9 kB / 0.6244 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.2442, allocations: 0.7528 MB / 0.6252 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.2478, allocations: 3.002 MB / 0.6281 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.2509, allocations: 366.5 kB / 0.6284 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/0.2513, allocations: 132 kB / 0.6286 GB, free: 6.926 MB / 0.5417 GB Warning: Assuming fixed start value for the following 28 variables: PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 59 ($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.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.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 (446): * Single equations (assignments): 444 * 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.001647/0.2529, allocations: 0.4938 MB / 0.6291 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.254, allocations: 369.6 kB / 0.6294 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0059/0.2599, allocations: 3.27 MB / 0.6326 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.2599, allocations: 24 kB / 0.6326 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.2599, allocations: 4 kB / 0.6326 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.2599, allocations: 15.89 kB / 0.6326 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.2733, allocations: 6.704 MB / 0.6392 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.2733, allocations: 7.938 kB / 0.6392 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.2749, allocations: 488 kB / 0.6397 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/0.2755, allocations: 368.7 kB / 0.64 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.2758, allocations: 59.98 kB / 0.6401 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.2796, allocations: 2.971 MB / 0.643 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.2796, allocations: 8 kB / 0.643 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008948/0.2886, allocations: 5.203 MB / 0.6481 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/0.2908, allocations: 0.7156 MB / 0.6488 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/0.2914, allocations: 67.98 kB / 0.6488 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.2927, allocations: 187.8 kB / 0.649 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.2931, allocations: 205.5 kB / 0.6492 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.2933, allocations: 75.97 kB / 0.6493 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003409/0.2967, allocations: 2.022 MB / 0.6512 GB, free: 15.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2967, allocations: 0 / 0.6512 GB, free: 15.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004454/0.3011, allocations: 1.501 MB / 0.6527 GB, free: 13.87 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 21 (PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.injector.running,PV.injector.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze) * Number of discrete states: 5 (PV.HvTfo.running,PV.LvTfo.running,PV.injector.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/0.3121, allocations: 6.173 MB / 0.6587 GB, free: 7.766 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01284/0.3249, allocations: 6.008 MB / 0.6646 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.3249, allocations: 0 / 0.6646 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.3284, allocations: 1.792 MB / 0.6664 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.3317, allocations: 0.5031 MB / 0.6669 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.312/0.6437, allocations: 29.91 MB / 0.6961 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.6457, allocations: 1.375 MB / 0.6974 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002268/0.6479, allocations: 453.4 kB / 0.6978 GB, free: 158.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/0.6498, allocations: 1.427 MB / 0.6992 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.134e-06/0.6498, allocations: 0 / 0.6992 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.7613, allocations: 80.28 MB / 0.7776 GB, free: 95.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.51, allocations: 7.938 kB / 0.7776 GB, free: 95.82 MB / 0.5886 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_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_PVCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/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] "Error: Could not read variable PV.HvMeasurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.HvMeasurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.HvMeasurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.HvMeasurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.HvMeasurements.UPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.HvMeasurements.UPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.729815362021327]