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.0008346/0.0008346, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0008166/0.0008166, allocations: 169.2 kB / 23.98 MB, free: 0.582 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.8753/0.8753, allocations: 158.6 MB / 185.8 MB, free: 3.039 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.4061/0.4061, allocations: 90.26 MB / 328.3 MB, free: 15.02 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: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,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.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,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.PVVoltageSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.5013 GB, free: 16.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.674e-05, allocations: 5.891 kB / 0.5013 GB, free: 16.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01221/0.01225, allocations: 13.9 MB / 0.5148 GB, free: 7.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.02319, allocations: 6.702 MB / 0.5214 GB, free: 2.605 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.02547, allocations: 97.19 kB / 0.5215 GB, free: 2.566 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.02705, allocations: 0.787 MB / 0.5222 GB, free: 2.078 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.002877/0.02993, allocations: 1.581 MB / 0.5238 GB, free: 0.9062 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.004049/0.03398, allocations: 2.911 MB / 0.5266 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.03914, allocations: 5.452 MB / 0.532 GB, free: 11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.04097, allocations: 1.261 MB / 0.5332 GB, free: 10.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.04339, allocations: 1.85 MB / 0.535 GB, free: 8.801 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.04514, allocations: 1.623 MB / 0.5366 GB, free: 7.625 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007575/0.0459, allocations: 0.5804 MB / 0.5371 GB, free: 7.621 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.04707, allocations: 0.9096 MB / 0.538 GB, free: 6.711 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.04776, allocations: 1.168 MB / 0.5392 GB, free: 5.539 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009919/0.04875, allocations: 1.464 MB / 0.5406 GB, free: 4.07 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.05415, allocations: 7.248 MB / 0.5477 GB, free: 12.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.05416, allocations: 4 kB / 0.5477 GB, free: 12.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.05416, allocations: 0 / 0.5477 GB, free: 12.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.274e-05/0.05423, allocations: 3.938 kB / 0.5477 GB, free: 12.79 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.009131/0.06336, allocations: 5.981 MB / 0.5535 GB, free: 6.719 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.0634, allocations: 12.03 kB / 0.5535 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.06657, allocations: 1.243 MB / 0.5548 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.06977, allocations: 2.652 MB / 0.5573 GB, free: 2.762 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/0.0702, allocations: 0.9864 MB / 0.5583 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.07052, allocations: 304.3 kB / 0.5586 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.0753, allocations: 4.082 MB / 0.5626 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.07535, allocations: 3.938 kB / 0.5626 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.07556, allocations: 132 kB / 0.5627 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.07583, allocations: 75.94 kB / 0.5628 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.07992, allocations: 3.129 MB / 0.5658 GB, free: 9.621 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.01146/0.09137, allocations: 10.59 MB / 0.5762 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/0.09553, allocations: 2.985 MB / 0.5791 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.0971, allocations: 1.261 MB / 0.5803 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.09727, allocations: 41.84 kB / 0.5804 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/0.09936, allocations: 1.811 MB / 0.5821 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 3.596e-06/0.09936, allocations: 0 / 0.5821 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=247): time 0.008375/0.1077, allocations: 5.107 MB / 0.5871 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/0.1079, allocations: 0.5101 MB / 0.5876 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/0.1111, allocations: 2.937 MB / 0.5905 GB, free: 48 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.1113, allocations: 85.77 kB / 0.5906 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.1124, allocations: 1.568 MB / 0.5921 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006918/0.1131, allocations: 0.8872 MB / 0.593 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008722/0.114, allocations: 0.7517 MB / 0.5937 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.1141, allocations: 305.1 kB / 0.594 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.1162, allocations: 1.721 MB / 0.5957 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.1189, allocations: 2.724 MB / 0.5983 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/0.1336, allocations: 8.991 MB / 0.6071 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.1336, allocations: 4 kB / 0.6071 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.007401/0.141, allocations: 5.22 MB / 0.6122 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.1411, allocations: 69.66 kB / 0.6123 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1411, allocations: 8 kB / 0.6123 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/0.1418, allocations: 0.5357 MB / 0.6128 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.1437, allocations: 0.8152 MB / 0.6136 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.1479, allocations: 3.908 MB / 0.6174 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.1496, allocations: 417.8 kB / 0.6178 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.1498, allocations: 140 kB / 0.618 GB, free: 3.242 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.003709/0.1535, allocations: 2.414 MB / 0.6203 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002506/0.156, allocations: 2.67 MB / 0.6229 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01442/0.1705, allocations: 8.854 MB / 0.6316 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-05/0.1705, allocations: 4 kB / 0.6316 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of matching and sorting (n=527) (initialization_lambda0): time 0.00715/0.1776, allocations: 5.115 MB / 0.6366 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.1777, allocations: 69.66 kB / 0.6366 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1777, allocations: 12 kB / 0.6366 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.1783, allocations: 0.5358 MB / 0.6372 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.1803, allocations: 0.7996 MB / 0.638 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/0.1851, allocations: 3.908 MB / 0.6418 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.187, allocations: 386.2 kB / 0.6421 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.1872, allocations: 136 kB / 0.6423 GB, free: 9.75 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: 62 ($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.QConv0PuNeg.k,PV.wecc_regc.QConv0PuPos.k,$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 (483): * Single equations (assignments): 481 * 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.0008581/0.1881, allocations: 0.5533 MB / 0.6428 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.1885, allocations: 349.8 kB / 0.6431 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.1938, allocations: 3.667 MB / 0.6467 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002067/0.194, allocations: 32 kB / 0.6468 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.194, allocations: 7.938 kB / 0.6468 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.194, allocations: 11.95 kB / 0.6468 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/0.2026, allocations: 7.003 MB / 0.6536 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.2026, allocations: 12.03 kB / 0.6536 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.2042, allocations: 495.3 kB / 0.6541 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/0.2049, allocations: 0.5313 MB / 0.6546 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.205, allocations: 67.97 kB / 0.6547 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004117/0.2091, allocations: 3.902 MB / 0.6585 GB, free: 8.906 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.2091, allocations: 11.92 kB / 0.6585 GB, free: 8.895 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/0.2166, allocations: 5.878 MB / 0.6642 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.2177, allocations: 0.7352 MB / 0.665 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.2179, allocations: 67.98 kB / 0.665 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.219, allocations: 195.8 kB / 0.6652 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.2193, allocations: 217.4 kB / 0.6654 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.2195, allocations: 83.97 kB / 0.6655 GB, free: 1.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00205/0.2215, allocations: 1.875 MB / 0.6673 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.2215, allocations: 4 kB / 0.6673 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003321/0.2248, allocations: 1.762 MB / 0.6691 GB, free: 13.93 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.0009412/0.2258, allocations: 0.5255 MB / 0.6696 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009065/0.2348, allocations: 6.703 MB / 0.6761 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.2348, allocations: 4 kB / 0.6761 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.2376, allocations: 1.983 MB / 0.6781 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.2392, allocations: 0.5263 MB / 0.6786 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2395/0.4787, allocations: 6.89 MB / 0.6853 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.4804, allocations: 1.483 MB / 0.6867 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.4817, allocations: 230.8 kB / 0.687 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/0.4817, allocations: 2.812 kB / 0.687 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.0707/0.5524, allocations: 68.37 MB / 0.7537 GB, free: 121.1 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.987660377286375]