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.0007234/0.0007234, allocations: 92.38 kB / 19.72 MB, free: 432 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.0007138/0.0007138, allocations: 214.3 kB / 23.02 MB, free: 2.961 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 0.831/0.831, allocations: 207.7 MB / 233.9 MB, free: 11.46 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.3984/0.3984, allocations: 121.3 MB / 407.4 MB, free: 0.6797 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.001567/0.001567, allocations: 75.84 kB / 0.5783 GB, free: 9.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2989, allocations: 80.46 MB / 0.6568 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.008115/0.307, allocations: 10.3 MB / 0.6669 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007734/0.3147, allocations: 5.248 MB / 0.672 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3173, allocations: 61.94 kB / 0.6721 GB, free: 9.918 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.00191/0.3192, allocations: 0.6763 MB / 0.6727 GB, free: 9.391 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.003688/0.3228, allocations: 1.265 MB / 0.674 GB, free: 8.387 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.003261/0.3261, allocations: 1.93 MB / 0.6759 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.3299, allocations: 3.691 MB / 0.6795 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.331, allocations: 0.8234 MB / 0.6803 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.3324, allocations: 1.39 MB / 0.6816 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3335, allocations: 1.349 MB / 0.6829 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.3339, allocations: 398.3 kB / 0.6833 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.3348, allocations: 0.6697 MB / 0.684 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.3351, allocations: 0.8242 MB / 0.6848 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.3359, allocations: 1.24 MB / 0.686 GB, free: 36 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.3398, allocations: 4.951 MB / 0.6908 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3398, allocations: 0 / 0.6908 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3398, allocations: 0 / 0.6908 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.183e-05/0.3399, allocations: 5.25 kB / 0.6908 GB, free: 12.12 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.007935/0.3478, allocations: 4.251 MB / 0.695 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3479, allocations: 11.97 kB / 0.695 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/0.3482, allocations: 286.9 kB / 0.6953 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.351, allocations: 0.8771 MB / 0.6961 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.3536, allocations: 1.851 MB / 0.6979 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/0.354, allocations: 0.8132 MB / 0.6987 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.3542, allocations: 204 kB / 0.6989 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/0.3577, allocations: 2.747 MB / 0.7016 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.3577, allocations: 0 / 0.7016 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.3579, allocations: 91.97 kB / 0.7017 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3579, allocations: 48 kB / 0.7017 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.3608, allocations: 2.149 MB / 0.7038 GB, free: 15.26 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.0094/0.3702, allocations: 7.673 MB / 0.7113 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.3732, allocations: 2.003 MB / 0.7133 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3747, allocations: 0.9308 MB / 0.7142 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.3749, allocations: 37.23 kB / 0.7142 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.3767, allocations: 1.486 MB / 0.7157 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=184): time 3.597e-06/0.3767, allocations: 0 / 0.7157 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=184): time 0.006522/0.3832, allocations: 3.857 MB / 0.7194 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3833, allocations: 316 kB / 0.7198 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/0.3863, allocations: 2.372 MB / 0.7221 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.3865, allocations: 81.69 kB / 0.7221 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/0.3872, allocations: 1.097 MB / 0.7232 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005702/0.3878, allocations: 0.6433 MB / 0.7238 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/0.3884, allocations: 0.569 MB / 0.7244 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.3885, allocations: 305.1 kB / 0.7247 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.3901, allocations: 1.297 MB / 0.726 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.3921, allocations: 1.901 MB / 0.7278 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.4031, allocations: 6.535 MB / 0.7342 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.4032, allocations: 0 / 0.7342 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006221/0.4094, allocations: 3.958 MB / 0.7381 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/0.4095, allocations: 73.59 kB / 0.7381 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4095, allocations: 8 kB / 0.7381 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.4101, allocations: 452.5 kB / 0.7386 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.4119, allocations: 0.5929 MB / 0.7391 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.4162, allocations: 3.444 MB / 0.7425 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.4186, allocations: 330.2 kB / 0.7428 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.4189, allocations: 111.9 kB / 0.7429 GB, free: 6.363 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.003515/0.4224, allocations: 1.862 MB / 0.7448 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002452/0.4249, allocations: 1.885 MB / 0.7466 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01256/0.4374, allocations: 6.496 MB / 0.7529 GB, free: 11.77 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.547e-05/0.4375, allocations: 4 kB / 0.7529 GB, free: 11.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.006831/0.4443, allocations: 3.926 MB / 0.7568 GB, free: 7.793 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.4444, allocations: 69.66 kB / 0.7568 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.4444, allocations: 8 kB / 0.7568 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.445, allocations: 453 kB / 0.7573 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.4467, allocations: 0.5928 MB / 0.7579 GB, free: 6.672 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.4508, allocations: 3.448 MB / 0.7612 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.4531, allocations: 290.6 kB / 0.7615 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.4535, allocations: 108 kB / 0.7616 GB, free: 2.719 MB / 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.0009784/0.4544, allocations: 472.3 kB / 0.7621 GB, free: 2.254 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.4551, allocations: 274.2 kB / 0.7623 GB, free: 1.984 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005223/0.4603, allocations: 2.823 MB / 0.7651 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4603, allocations: 16 kB / 0.7651 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4603, allocations: 4 kB / 0.7651 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.4603, allocations: 11.97 kB / 0.7651 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.4704, allocations: 5.773 MB / 0.7707 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.4704, allocations: 7.938 kB / 0.7708 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.4717, allocations: 368.2 kB / 0.7711 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005697/0.4722, allocations: 453 kB / 0.7715 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.4724, allocations: 47.98 kB / 0.7716 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/0.4761, allocations: 3.432 MB / 0.7749 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4761, allocations: 12.03 kB / 0.7749 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006845/0.4829, allocations: 4.553 MB / 0.7794 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.4842, allocations: 0.5563 MB / 0.7799 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/0.4845, allocations: 63.98 kB / 0.78 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.4855, allocations: 143.8 kB / 0.7801 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/0.4859, allocations: 228.7 kB / 0.7804 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.486, allocations: 71.97 kB / 0.7804 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001954/0.488, allocations: 1.543 MB / 0.7819 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.8e-07/0.488, allocations: 0 / 0.7819 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003111/0.4911, allocations: 1.24 MB / 0.7831 GB, free: 12.3 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.007433/0.4985, allocations: 5.516 MB / 0.7885 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008712/0.5072, allocations: 5.198 MB / 0.7936 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.5072, allocations: 3.938 kB / 0.7936 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002926/0.5102, allocations: 1.695 MB / 0.7953 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.5123, allocations: 384.4 kB / 0.7956 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/0.5462, allocations: 24.39 MB / 0.8194 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.5473, allocations: 1.086 MB / 0.8205 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001629/0.5489, allocations: 348.8 kB / 0.8208 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.5502, allocations: 1.085 MB / 0.8219 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of SimCode: time 1.913e-06/0.5502, allocations: 4 kB / 0.8219 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3143/0.8646, allocations: 65.39 MB / 0.8858 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.252, allocations: 2.344 kB / 0.8858 GB, free: 168.1 MB / 0.6667 GB " [Timeout remaining time 651] (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: 13.445122197270393]