Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.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.0006892/0.0006892, allocations: 92.38 kB / 19.72 MB, free: 436 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.0008849/0.0008849, allocations: 216.8 kB / 23.02 MB, free: 2.973 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.09/1.09, allocations: 207.7 MB / 233.9 MB, free: 11.48 MB / 186.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.4314/0.4314, allocations: 121.3 MB / 407.4 MB, free: 0.6875 MB / 330.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.PVVoltageSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) [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.001167/0.001167, allocations: 75.89 kB / 0.5783 GB, free: 4.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4211, allocations: 80.47 MB / 0.6568 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.01054/0.4317, allocations: 10.29 MB / 0.6669 GB, free: 2.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008322/0.44, allocations: 5.256 MB / 0.672 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.4414, allocations: 59.62 kB / 0.6721 GB, free: 13.6 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001327/0.4427, allocations: 0.6739 MB / 0.6727 GB, free: 12.92 MB / 0.4948 GB [/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.002246/0.445, allocations: 1.27 MB / 0.674 GB, free: 11.65 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVInverterVoltageSource_INIT.mo:90:3-90:108:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSourceNoPlantControl_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.4477, allocations: 1.922 MB / 0.6759 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.4506, allocations: 3.699 MB / 0.6795 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.4516, allocations: 0.8198 MB / 0.6803 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.453, allocations: 1.393 MB / 0.6816 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.4543, allocations: 1.348 MB / 0.6829 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.4546, allocations: 396 kB / 0.6833 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.4554, allocations: 0.6677 MB / 0.684 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.456, allocations: 0.8254 MB / 0.6848 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007864/0.4568, allocations: 1.248 MB / 0.686 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.4607, allocations: 4.943 MB / 0.6908 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4607, allocations: 4 kB / 0.6908 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.516e-06/0.4607, allocations: 0 / 0.6908 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.4607, allocations: 0 / 0.6908 GB, free: 10.29 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.006457/0.4672, allocations: 4.248 MB / 0.695 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.4672, allocations: 8.031 kB / 0.695 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006229/0.4678, allocations: 286.9 kB / 0.6953 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.4705, allocations: 0.8771 MB / 0.6961 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4727, allocations: 1.855 MB / 0.6979 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.4731, allocations: 0.8132 MB / 0.6987 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.4734, allocations: 212 kB / 0.6989 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.4766, allocations: 2.743 MB / 0.7016 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.4766, allocations: 3.938 kB / 0.7016 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.4768, allocations: 87.98 kB / 0.7017 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.4768, allocations: 48 kB / 0.7017 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.4797, allocations: 2.145 MB / 0.7038 GB, free: 12.55 MB / 0.5261 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.008324/0.4881, allocations: 7.681 MB / 0.7113 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.4911, allocations: 1.999 MB / 0.7133 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.4923, allocations: 0.9309 MB / 0.7142 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.4924, allocations: 29.28 kB / 0.7142 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.4943, allocations: 1.494 MB / 0.7157 GB, free: 232 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=184): time 3.997e-06/0.4943, allocations: 0 / 0.7157 GB, free: 232 kB / 0.5261 GB Notification: Performance of matching and sorting (n=184): time 0.006468/0.5007, allocations: 3.857 MB / 0.7195 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.5009, allocations: 312 kB / 0.7197 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.5033, allocations: 2.383 MB / 0.7221 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.5035, allocations: 77.69 kB / 0.7221 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.5042, allocations: 1.097 MB / 0.7232 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.5047, allocations: 0.6394 MB / 0.7238 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006494/0.5054, allocations: 0.569 MB / 0.7244 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.5054, allocations: 305.1 kB / 0.7247 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.5072, allocations: 1.297 MB / 0.726 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.5093, allocations: 1.905 MB / 0.7278 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.5203, allocations: 6.531 MB / 0.7342 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.5203, allocations: 4 kB / 0.7342 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005747/0.5261, allocations: 3.962 MB / 0.7381 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.5261, allocations: 69.59 kB / 0.7381 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5262, allocations: 8 kB / 0.7381 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.5268, allocations: 451.4 kB / 0.7386 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5282, allocations: 0.5929 MB / 0.7392 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.5322, allocations: 3.444 MB / 0.7425 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.5337, allocations: 330.3 kB / 0.7428 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.5339, allocations: 111.9 kB / 0.7429 GB, free: 3.652 MB / 0.5573 GB Warning: Assuming fixed start value for the following 27 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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) 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) 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.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002978/0.5369, allocations: 1.857 MB / 0.7448 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001991/0.5388, allocations: 1.889 MB / 0.7466 GB, free: 15.72 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01074/0.5496, allocations: 6.492 MB / 0.7529 GB, free: 9.062 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/0.5496, allocations: 7.938 kB / 0.7529 GB, free: 9.055 MB / 0.573 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.005804/0.5554, allocations: 3.93 MB / 0.7568 GB, free: 5.074 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.5555, allocations: 65.66 kB / 0.7568 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5555, allocations: 8 kB / 0.7569 GB, free: 4.996 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.556, allocations: 456.4 kB / 0.7573 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5575, allocations: 0.5928 MB / 0.7579 GB, free: 3.957 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.5615, allocations: 3.447 MB / 0.7612 GB, free: 404 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.563, allocations: 286.6 kB / 0.7615 GB, free: 116 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.5632, allocations: 112 kB / 0.7616 GB, free: 4 kB / 0.573 GB Warning: Assuming fixed start value for the following 27 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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) 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) 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.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean 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: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running.value,$PRE.PV.LvTfo.running.value,$PRE.PV.wecc_reec.iqInjectionLogic.vDip,$PRE.PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,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_reec.currentLimitsCalculation1.vDip,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.iqInjectionLogic.vDip,PV.LvTfo.running.value,PV.source.running.value,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.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition20,$whenCondition19,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,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 (361): * Single equations (assignments): 359 * 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,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007909/0.564, allocations: 471 kB / 0.7621 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.5643, allocations: 266.3 kB / 0.7623 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.5686, allocations: 2.827 MB / 0.7651 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5686, allocations: 20 kB / 0.7651 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5686, allocations: 7.938 kB / 0.7651 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5686, allocations: 7.969 kB / 0.7651 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007478/0.5761, allocations: 5.781 MB / 0.7708 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5761, allocations: 7.938 kB / 0.7708 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.5772, allocations: 368.1 kB / 0.7711 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.5778, allocations: 443.4 kB / 0.7715 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5779, allocations: 51.98 kB / 0.7716 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.5815, allocations: 3.428 MB / 0.7749 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5815, allocations: 4 kB / 0.7749 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.5875, allocations: 4.561 MB / 0.7794 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008872/0.5884, allocations: 0.5563 MB / 0.7799 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5886, allocations: 67.97 kB / 0.78 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008605/0.5894, allocations: 147.8 kB / 0.7801 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/0.5898, allocations: 220.8 kB / 0.7804 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5899, allocations: 71.97 kB / 0.7804 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001757/0.5917, allocations: 1.543 MB / 0.7819 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5917, allocations: 3.938 kB / 0.7819 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002722/0.5944, allocations: 1.236 MB / 0.7831 GB, free: 9.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 14 (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_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) * Number of discrete variables: 39 ($whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,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.source.running.value,PV.source.state,PV.LvTfo.running.value,PV.LvTfo.state,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running.value,PV.injector.state) * Number of discrete states: 10 (PV.injector.running.value,PV.LvTfo.running.value,PV.source.running.value,line.running.value,PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxPu,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006991/0.6014, allocations: 5.525 MB / 0.7885 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.6093, allocations: 5.195 MB / 0.7936 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.6093, allocations: 0 / 0.7936 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.6119, allocations: 1.698 MB / 0.7953 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6136, allocations: 377.8 kB / 0.7956 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.6458, allocations: 24.4 MB / 0.8195 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/0.6467, allocations: 1.075 MB / 0.8205 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001277/0.648, allocations: 352.8 kB / 0.8208 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.6491, allocations: 1.089 MB / 0.8219 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/0.6491, allocations: 0 / 0.8219 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4159/1.065, allocations: 65.4 MB / 0.8858 GB, free: 103.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/10.45, allocations: 11.98 kB / 0.8858 GB, free: 103.6 MB / 0.6355 GB " [Timeout remaining time 649] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_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_PVVoltageSourceNoPPC.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.LvMeasurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! Error: Could not read variable PV.LvMeasurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! Error: Could not read variable PV.LvMeasurements.UPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.UPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.622124006971717]