Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002536/0.002536, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 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.002898/0.002898, allocations: 214.3 kB / 23.01 MB, free: 4.992 MB / 14.72 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.507/1.507, allocations: 207.7 MB / 233.9 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.6571/0.6571, allocations: 115.9 MB / 402 MB, free: 16.02 MB / 318.1 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.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource2",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.002585/0.002585, allocations: 75.78 kB / 0.5694 GB, free: 41.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1714, allocations: 79.04 MB / 0.6466 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2): time 0.0187/0.1901, allocations: 11.27 MB / 0.6576 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2041, allocations: 5.896 MB / 0.6633 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.208, allocations: 87.38 kB / 0.6634 GB, free: 10.03 MB / 0.4981 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: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). Notification: Performance of NFTyping.typeComponents: time 0.002872/0.2109, allocations: 0.5878 MB / 0.664 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.2163, allocations: 1.164 MB / 0.6651 GB, free: 8.273 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:67:3-67:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007067/0.2233, allocations: 2.652 MB / 0.6677 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008081/0.2314, allocations: 4.583 MB / 0.6722 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.2348, allocations: 1.116 MB / 0.6733 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.2383, allocations: 1.685 MB / 0.6749 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.2415, allocations: 1.577 MB / 0.6765 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.2431, allocations: 0.5039 MB / 0.6769 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.2456, allocations: 0.7576 MB / 0.6777 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.2474, allocations: 0.9811 MB / 0.6786 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.2506, allocations: 1.488 MB / 0.6801 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.2611, allocations: 6.087 MB / 0.686 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2611, allocations: 8 kB / 0.6861 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2611, allocations: 0 / 0.6861 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000232/0.2614, allocations: 0 / 0.6861 GB, free: 2.723 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.01817/0.2795, allocations: 4.87 MB / 0.6908 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2796, allocations: 15.97 kB / 0.6908 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/0.2808, allocations: 345.9 kB / 0.6912 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006715/0.2875, allocations: 1.095 MB / 0.6922 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.2935, allocations: 2.303 MB / 0.6945 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007936/0.2942, allocations: 0.784 MB / 0.6952 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008614/0.2951, allocations: 252.3 kB / 0.6955 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008759/0.3039, allocations: 3.584 MB / 0.699 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.3039, allocations: 11.88 kB / 0.699 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.3043, allocations: 108 kB / 0.6991 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.3044, allocations: 64 kB / 0.6992 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007148/0.3115, allocations: 2.715 MB / 0.7018 GB, free: 2.02 MB / 0.5294 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.02045/0.332, allocations: 9.782 MB / 0.7114 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007345/0.3393, allocations: 2.741 MB / 0.714 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/0.3422, allocations: 1.163 MB / 0.7152 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.3424, allocations: 33.98 kB / 0.7152 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003858/0.3463, allocations: 1.644 MB / 0.7168 GB, free: 2.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=208): time 7.203e-06/0.3463, allocations: 3.938 kB / 0.7168 GB, free: 2.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.01334/0.3596, allocations: 4.45 MB / 0.7212 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004041/0.36, allocations: 0.572 MB / 0.7217 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006586/0.3666, allocations: 2.701 MB / 0.7244 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007242/0.3673, allocations: 77.69 kB / 0.7244 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.3693, allocations: 1.29 MB / 0.7257 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.3709, allocations: 0.7633 MB / 0.7264 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003041/0.374, allocations: 0.6443 MB / 0.7271 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.3742, allocations: 313.1 kB / 0.7274 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/0.3783, allocations: 1.53 MB / 0.7289 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/0.3831, allocations: 2.472 MB / 0.7313 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02644/0.4096, allocations: 7.735 MB / 0.7388 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.4096, allocations: 4 kB / 0.7388 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01372/0.4233, allocations: 4.656 MB / 0.7434 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.4234, allocations: 53.67 kB / 0.7434 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.4235, allocations: 16.78 kB / 0.7434 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.4243, allocations: 472.6 kB / 0.7439 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/0.4281, allocations: 0.7256 MB / 0.7446 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.948e-05/0.4282, allocations: 31.92 kB / 0.7446 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.4318, allocations: 401.7 kB / 0.745 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005352/0.4323, allocations: 131.9 kB / 0.7451 GB, free: 4.707 MB / 0.5762 GB Warning: Assuming fixed start value for the following 30 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.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.line.running.value:DISCRETE(flow=false start = PV.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.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005413/0.4377, allocations: 2.129 MB / 0.7472 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0043/0.442, allocations: 2.417 MB / 0.7496 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02441/0.4664, allocations: 7.598 MB / 0.757 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-05/0.4664, allocations: 0 / 0.757 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=445) (initialization_lambda0): time 0.01226/0.4787, allocations: 4.566 MB / 0.7615 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/0.4788, allocations: 57.67 kB / 0.7615 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.4788, allocations: 8 kB / 0.7615 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.4796, allocations: 477.3 kB / 0.762 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.483, allocations: 0.7099 MB / 0.7627 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.848e-05/0.4831, allocations: 27.94 kB / 0.7627 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.4863, allocations: 346.4 kB / 0.763 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.4866, allocations: 116 kB / 0.7631 GB, free: 1.766 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.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.line.running.value:DISCRETE(flow=false start = PV.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.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.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: 41 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition10,$whenCondition9,$whenCondition11,$PRE.PV.source.state,PV.source.state,$PRE.PV.line.state,PV.line.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.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running.value,PV.wecc_regc.QInj0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QInj0PuPos.y,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.Qinj0PuNeg.y,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,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,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition13,$whenCondition12,$whenCondition14,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 417 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.4878, allocations: 0.499 MB / 0.7636 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.489, allocations: 329.9 kB / 0.7639 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009578/0.4985, allocations: 3.333 MB / 0.7672 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.4986, allocations: 24 kB / 0.7672 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.398e-05/0.4986, allocations: 7.984 kB / 0.7672 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.4986, allocations: 11.91 kB / 0.7672 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.5151, allocations: 6.869 MB / 0.7739 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.5151, allocations: 4 kB / 0.7739 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/0.518, allocations: 451.8 kB / 0.7744 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/0.5187, allocations: 460.6 kB / 0.7748 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/0.519, allocations: 59.97 kB / 0.7749 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-05/0.519, allocations: 15.94 kB / 0.7749 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.5191, allocations: 7.938 kB / 0.7749 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.5321, allocations: 5.356 MB / 0.7801 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.36/0.8921, allocations: 0.6724 MB / 0.7808 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006978/0.8928, allocations: 59.22 kB / 0.7808 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.8948, allocations: 182.5 kB / 0.781 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.8953, allocations: 189.3 kB / 0.7812 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.8954, allocations: 74.61 kB / 0.7813 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002984/0.8984, allocations: 1.754 MB / 0.783 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8984, allocations: 1.125 kB / 0.783 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003449/0.9019, allocations: 1.319 MB / 0.7843 GB, free: 128.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 23 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.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.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running.value,PV.injector.state) * Number of discrete states: 5 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01125/0.9131, allocations: 6.032 MB / 0.7902 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01345/0.9266, allocations: 5.506 MB / 0.7955 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.9266, allocations: 2.688 kB / 0.7955 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004147/0.9307, allocations: 1.522 MB / 0.797 GB, free: 122.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.934, allocations: 492.1 kB / 0.7975 GB, free: 122.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05947/0.9934, allocations: 27.98 MB / 0.8248 GB, free: 102.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.9951, allocations: 1.218 MB / 0.826 GB, free: 101.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002532/0.9977, allocations: 405.6 kB / 0.8264 GB, free: 101 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/0.9995, allocations: 1.294 MB / 0.8277 GB, free: 99.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.392e-06/0.9995, allocations: 0 / 0.8277 GB, free: 99.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.12, allocations: 73.08 MB / 0.899 GB, free: 26.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.43, allocations: 0 / 0.899 GB, free: 26.91 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_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_PVVoltageSource2.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.measurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.measurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! Error: Could not read variable PV.measurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.measurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! Error: Could not read variable PV.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv. Warning: Get data of variable PV.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.03700621984899]