Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.001776/0.001776, allocations: 96.36 kB / 19.72 MB, free: 424 kB / 13.93 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.001864/0.001864, allocations: 210.6 kB / 23.01 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.7022/0.7022, allocations: 122.7 MB / 408.8 MB, free: 15.36 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004147/0.004147, allocations: 83.02 kB / 0.5802 GB, free: 7.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.353, allocations: 80.9 MB / 0.6592 GB, free: 20.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.01348/0.3665, allocations: 13.81 MB / 0.6726 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3769, allocations: 6.439 MB / 0.6789 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.3799, allocations: 96.84 kB / 0.679 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.3817, allocations: 0.7333 MB / 0.6797 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.3856, allocations: 1.495 MB / 0.6812 GB, free: 2.785 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:106:3-106:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.3899, allocations: 2.825 MB / 0.684 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007441/0.3974, allocations: 5.363 MB / 0.6892 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.3999, allocations: 1.253 MB / 0.6904 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.4033, allocations: 1.989 MB / 0.6924 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4059, allocations: 1.914 MB / 0.6942 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006897/0.4066, allocations: 0.5825 MB / 0.6948 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4082, allocations: 0.8748 MB / 0.6957 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.4096, allocations: 1.145 MB / 0.6968 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.4116, allocations: 1.768 MB / 0.6985 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009238/0.4208, allocations: 7.015 MB / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4208, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4208, allocations: 4 kB / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001622/0.421, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 758 * Number of variables: 758 Notification: Performance of Generate backend data structure: time 0.01849/0.4395, allocations: 5.977 MB / 0.7112 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4395, allocations: 8.031 kB / 0.7112 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006748/0.4463, allocations: 1.27 MB / 0.7124 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005207/0.4515, allocations: 2.608 MB / 0.715 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008657/0.4524, allocations: 0.8933 MB / 0.7159 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005817/0.4529, allocations: 311.9 kB / 0.7162 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008426/0.4614, allocations: 4.117 MB / 0.7202 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.4614, allocations: 3.938 kB / 0.7202 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.4618, allocations: 128 kB / 0.7203 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.4618, allocations: 72 kB / 0.7204 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/0.4693, allocations: 3.207 MB / 0.7235 GB, free: 11.18 MB / 0.5417 GB 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.02221/0.4915, allocations: 10.59 MB / 0.7338 GB, free: 428 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.4993, allocations: 3.079 MB / 0.7369 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.5023, allocations: 1.284 MB / 0.7381 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.5025, allocations: 41.97 kB / 0.7381 GB, free: 12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00454/0.507, allocations: 1.831 MB / 0.7399 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=254): time 5.32e-06/0.507, allocations: 0 / 0.7399 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=254): time 0.01609/0.5231, allocations: 5.167 MB / 0.745 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003902/0.5235, allocations: 0.5218 MB / 0.7455 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/0.5289, allocations: 2.82 MB / 0.7482 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.5292, allocations: 81.7 kB / 0.7483 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.5311, allocations: 1.552 MB / 0.7498 GB, free: 15.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.5323, allocations: 0.9144 MB / 0.7507 GB, free: 14.92 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.5338, allocations: 0.7676 MB / 0.7515 GB, free: 14.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.534, allocations: 308.9 kB / 0.7518 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/0.5381, allocations: 1.764 MB / 0.7535 GB, free: 12.06 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.543, allocations: 2.761 MB / 0.7562 GB, free: 9.012 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03309/0.5761, allocations: 9.212 MB / 0.7652 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.5761, allocations: 4 kB / 0.7652 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0138/0.5899, allocations: 5.296 MB / 0.7704 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.59, allocations: 73.59 kB / 0.7704 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.59, allocations: 12 kB / 0.7704 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.5913, allocations: 0.5397 MB / 0.771 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.5955, allocations: 0.8387 MB / 0.7718 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/0.6038, allocations: 3.913 MB / 0.7756 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.6072, allocations: 417.9 kB / 0.776 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/0.6075, allocations: 140 kB / 0.7761 GB, free: 4.262 MB / 0.5886 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.005541/0.6131, allocations: 2.455 MB / 0.7785 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005086/0.6182, allocations: 2.706 MB / 0.7812 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03249/0.6507, allocations: 9.063 MB / 0.79 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.666e-05/0.6507, allocations: 0 / 0.79 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.01412/0.6648, allocations: 5.198 MB / 0.7951 GB, free: 360 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.6649, allocations: 69.61 kB / 0.7952 GB, free: 284 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.665, allocations: 15.98 kB / 0.7952 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.6663, allocations: 0.5442 MB / 0.7957 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.6704, allocations: 0.8113 MB / 0.7965 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008013/0.6784, allocations: 3.909 MB / 0.8003 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.682, allocations: 390.1 kB / 0.8007 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004203/0.6825, allocations: 144 kB / 0.8008 GB, free: 10.37 MB / 0.6198 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 (492): * Single equations (assignments): 490 * 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.001251/0.6837, allocations: 0.5652 MB / 0.8014 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.6848, allocations: 346 kB / 0.8017 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.6948, allocations: 3.709 MB / 0.8054 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.6949, allocations: 27.94 kB / 0.8054 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.6949, allocations: 8 kB / 0.8054 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.6949, allocations: 19.92 kB / 0.8054 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/0.7128, allocations: 7.401 MB / 0.8126 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.7128, allocations: 4 kB / 0.8126 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/0.7161, allocations: 0.496 MB / 0.8131 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.7174, allocations: 0.5278 MB / 0.8136 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.7176, allocations: 71.97 kB / 0.8137 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/0.7259, allocations: 3.905 MB / 0.8175 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/0.7259, allocations: 16 kB / 0.8175 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.7403, allocations: 5.958 MB / 0.8234 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/0.7427, allocations: 0.743 MB / 0.8241 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/0.7434, allocations: 75.98 kB / 0.8242 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/0.7458, allocations: 191.8 kB / 0.8243 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/0.7463, allocations: 217.4 kB / 0.8245 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/0.7465, allocations: 87.97 kB / 0.8246 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003472/0.75, allocations: 1.818 MB / 0.8264 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.75, allocations: 0 / 0.8264 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005012/0.755, allocations: 1.762 MB / 0.8281 GB, free: 14.02 MB / 0.6511 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 (247): * Single equations (assignments): 234 * 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.0007359/0.7558, allocations: 258.3 kB / 0.8284 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01744/0.7732, allocations: 6.826 MB / 0.835 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.7732, allocations: 112 / 0.835 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005578/0.7788, allocations: 1.983 MB / 0.837 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/0.7822, allocations: 0.5332 MB / 0.8375 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.798, allocations: 6.895 MB / 0.8442 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.8, allocations: 1.465 MB / 0.8457 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002869/0.8029, allocations: 0.4933 MB / 0.8461 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008708/0.8038, allocations: 207.4 kB / 0.8463 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of SimCode: time 9.01e-07/0.8038, allocations: 0 / 0.8463 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.3816/1.185, allocations: 51.03 MB / 0.8962 GB, free: 154.8 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.54542606137693]