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.0007811/0.0007811, allocations: 80.52 kB / 19.94 MB, free: 4.598 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.0007655/0.0007655, allocations: 169.2 kB / 23.22 MB, free: 1.32 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.8837/0.8837, allocations: 158.6 MB / 185 MB, free: 3.051 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.4165/0.4165, allocations: 89.96 MB / 327.2 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0.7031 kB / 0.5 GB, free: 16.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.346e-05, allocations: 3.75 kB / 0.5 GB, free: 16.88 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.01058/0.0106, allocations: 10.29 MB / 0.5101 GB, free: 9.988 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009845/0.02045, allocations: 5.264 MB / 0.5152 GB, free: 6.234 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.02302, allocations: 60.75 kB / 0.5153 GB, free: 6.211 MB / 442.7 MB [/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.001454/0.02447, allocations: 0.6816 MB / 0.5159 GB, free: 5.852 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.002897/0.02737, allocations: 1.259 MB / 0.5172 GB, free: 5.035 MB / 442.7 MB [/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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.03052, allocations: 1.946 MB / 0.5191 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.03427, allocations: 3.709 MB / 0.5227 GB, free: 1.676 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.03546, allocations: 0.8308 MB / 0.5235 GB, free: 1.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.03746, allocations: 1.279 MB / 0.5247 GB, free: 188 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.03925, allocations: 1.141 MB / 0.5259 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.04, allocations: 397.7 kB / 0.5262 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.04115, allocations: 0.6687 MB / 0.5269 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005316/0.04168, allocations: 0.8242 MB / 0.5277 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.04282, allocations: 1.026 MB / 0.5287 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.04719, allocations: 5.074 MB / 0.5337 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.0472, allocations: 1.156 kB / 0.5337 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.0472, allocations: 0 / 0.5337 GB, free: 9.801 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.04732, allocations: 0 / 0.5337 GB, free: 9.801 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.009228/0.05655, allocations: 4.244 MB / 0.5378 GB, free: 6.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/0.05662, allocations: 12.03 kB / 0.5378 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/0.05695, allocations: 290.9 kB / 0.5381 GB, free: 5.855 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.05996, allocations: 0.8809 MB / 0.5389 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.06241, allocations: 1.838 MB / 0.5407 GB, free: 3.078 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.06282, allocations: 0.8059 MB / 0.5415 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.06305, allocations: 220.1 kB / 0.5417 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.06648, allocations: 2.752 MB / 0.5444 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.06651, allocations: 4 kB / 0.5444 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.0667, allocations: 87.98 kB / 0.5445 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.06673, allocations: 48 kB / 0.5446 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.06987, allocations: 2.141 MB / 0.5467 GB, free: 12.75 MB / 474.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.008727/0.0786, allocations: 7.669 MB / 0.5541 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.08184, allocations: 2.01 MB / 0.5561 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.08308, allocations: 0.9294 MB / 0.557 GB, free: 1.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.08323, allocations: 29.3 kB / 0.557 GB, free: 1.949 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.08498, allocations: 1.493 MB / 0.5585 GB, free: 444 kB / 474.7 MB Notification: Performance of pre-optimization done (n=184): time 3.096e-06/0.08498, allocations: 7.875 kB / 0.5585 GB, free: 436 kB / 474.7 MB Notification: Performance of matching and sorting (n=184): time 0.006387/0.09137, allocations: 3.85 MB / 0.5623 GB, free: 12.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003838/0.09175, allocations: 320 kB / 0.5626 GB, free: 12.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.09411, allocations: 2.372 MB / 0.5649 GB, free: 9.789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.09424, allocations: 81.69 kB / 0.565 GB, free: 9.703 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.09491, allocations: 1.093 MB / 0.566 GB, free: 8.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.09541, allocations: 0.6472 MB / 0.5667 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/0.09604, allocations: 0.5651 MB / 0.5672 GB, free: 7.371 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.09611, allocations: 301.1 kB / 0.5675 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.09772, allocations: 1.297 MB / 0.5688 GB, free: 5.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.09987, allocations: 1.901 MB / 0.5706 GB, free: 3.684 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.1108, allocations: 6.539 MB / 0.577 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.1108, allocations: 3.938 kB / 0.577 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005583/0.1164, allocations: 3.954 MB / 0.5809 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.1164, allocations: 69.66 kB / 0.5809 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1164, allocations: 4 kB / 0.5809 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.117, allocations: 448.8 kB / 0.5814 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.1184, allocations: 0.5968 MB / 0.582 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.1223, allocations: 3.452 MB / 0.5853 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.1236, allocations: 330.2 kB / 0.5856 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.1238, allocations: 108 kB / 0.5857 GB, free: 3.852 MB / 0.4948 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.002563/0.1263, allocations: 1.854 MB / 0.5876 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001852/0.1282, allocations: 1.885 MB / 0.5894 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01016/0.1383, allocations: 6.492 MB / 0.5957 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.1383, allocations: 7.938 kB / 0.5957 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.005264/0.1436, allocations: 3.934 MB / 0.5996 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.1437, allocations: 73.59 kB / 0.5997 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1437, allocations: 8 kB / 0.5997 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.1442, allocations: 445 kB / 0.6001 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.1456, allocations: 0.5928 MB / 0.6007 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.1491, allocations: 3.443 MB / 0.604 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.1509, allocations: 295 kB / 0.6043 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.1511, allocations: 108 kB / 0.6044 GB, free: 216 kB / 0.5105 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.0007592/0.1519, allocations: 480.8 kB / 0.6049 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.1522, allocations: 270.3 kB / 0.6051 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/0.1568, allocations: 2.812 MB / 0.6079 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.1568, allocations: 20 kB / 0.6079 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.1568, allocations: 4 kB / 0.6079 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.1568, allocations: 15.89 kB / 0.6079 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.164, allocations: 5.785 MB / 0.6136 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.164, allocations: 8 kB / 0.6136 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.165, allocations: 364.2 kB / 0.6139 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.1655, allocations: 440.5 kB / 0.6143 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/0.1656, allocations: 63.84 kB / 0.6144 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.1689, allocations: 3.43 MB / 0.6177 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1689, allocations: 8 kB / 0.6178 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006138/0.175, allocations: 4.546 MB / 0.6222 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/0.1758, allocations: 0.5562 MB / 0.6227 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.176, allocations: 63.98 kB / 0.6228 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/0.1769, allocations: 147.8 kB / 0.6229 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.1772, allocations: 220.8 kB / 0.6232 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.1773, allocations: 75.95 kB / 0.6232 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001673/0.179, allocations: 1.539 MB / 0.6247 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 0.6247 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002763/0.1818, allocations: 1.24 MB / 0.6259 GB, free: 9.805 MB / 0.5417 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.007123/0.1889, allocations: 5.506 MB / 0.6313 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007352/0.1962, allocations: 5.179 MB / 0.6364 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1962, allocations: 0 / 0.6364 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.1986, allocations: 1.702 MB / 0.638 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.1999, allocations: 377 kB / 0.6384 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03799/0.2379, allocations: 24.39 MB / 0.6622 GB, free: 3.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/0.2389, allocations: 1.078 MB / 0.6633 GB, free: 2.863 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00128/0.2401, allocations: 356.8 kB / 0.6636 GB, free: 2.512 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.2413, allocations: 1.082 MB / 0.6647 GB, free: 1.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.784e-06/0.2413, allocations: 0 / 0.6647 GB, free: 1.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/0.5296, allocations: 65.72 MB / 0.7288 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.433/9.963, allocations: 15.06 kB / 0.7289 GB, free: 144.4 MB / 0.5886 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceNoPPC_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.621274888049811]