Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.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.001865/0.001865, allocations: 108.3 kB / 19.72 MB, free: 1.922 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.002915/0.002915, allocations: 211.8 kB / 23.01 MB, free: 4.98 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.5/1.5, 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.6252/0.6252, allocations: 115.9 MB / 402 MB, free: 15.96 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.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",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.003087/0.003087, allocations: 72.47 kB / 0.5694 GB, free: 41.4 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1556, allocations: 79.03 MB / 0.6465 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01599/0.1716, allocations: 10.44 MB / 0.6567 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.1848, allocations: 5.583 MB / 0.6622 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.188, allocations: 83.44 kB / 0.6623 GB, free: 11.21 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). Notification: Performance of NFTyping.typeComponents: time 0.002687/0.1907, allocations: 0.5373 MB / 0.6628 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.195, allocations: 0.7873 MB / 0.6636 GB, free: 9.879 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVCurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvCurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007251/0.2023, allocations: 2.727 MB / 0.6662 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007203/0.2095, allocations: 4.154 MB / 0.6703 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.2126, allocations: 1.027 MB / 0.6713 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.2156, allocations: 1.521 MB / 0.6728 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.2183, allocations: 1.414 MB / 0.6742 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.2196, allocations: 464 kB / 0.6746 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.2217, allocations: 0.7068 MB / 0.6753 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.2232, allocations: 0.8799 MB / 0.6761 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.2254, allocations: 1.348 MB / 0.6775 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.2329, allocations: 5.484 MB / 0.6828 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.233, allocations: 4 kB / 0.6828 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/0.233, allocations: 4 kB / 0.6828 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001432/0.2331, allocations: 3.938 kB / 0.6828 GB, free: 6.039 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.01351/0.2466, allocations: 4.281 MB / 0.687 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.2467, allocations: 12.92 kB / 0.687 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005499/0.2472, allocations: 316.3 kB / 0.6873 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.2519, allocations: 0.8809 MB / 0.6882 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/0.2566, allocations: 2.106 MB / 0.6902 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006858/0.2573, allocations: 0.7679 MB / 0.691 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004205/0.2577, allocations: 235.9 kB / 0.6912 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006205/0.2639, allocations: 3.231 MB / 0.6944 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.264, allocations: 3.938 kB / 0.6944 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.2642, allocations: 92 kB / 0.6945 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.2643, allocations: 56 kB / 0.6945 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005685/0.27, allocations: 2.463 MB / 0.6969 GB, free: 7.051 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.01636/0.2863, allocations: 8.795 MB / 0.7055 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.2932, allocations: 2.648 MB / 0.7081 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.2957, allocations: 1.064 MB / 0.7091 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.2959, allocations: 33.3 kB / 0.7092 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003127/0.299, allocations: 1.465 MB / 0.7106 GB, free: 8.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.759e-06/0.299, allocations: 0 / 0.7106 GB, free: 8.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01071/0.3097, allocations: 3.854 MB / 0.7144 GB, free: 4.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003042/0.31, allocations: 475 kB / 0.7148 GB, free: 4.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.3142, allocations: 2.53 MB / 0.7173 GB, free: 1.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/0.3145, allocations: 65.7 kB / 0.7174 GB, free: 1.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.3158, allocations: 1.2 MB / 0.7185 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008463/0.3167, allocations: 0.6743 MB / 0.7192 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.3177, allocations: 0.5728 MB / 0.7197 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3178, allocations: 304.9 kB / 0.72 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/0.3209, allocations: 1.359 MB / 0.7214 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.3246, allocations: 2.224 MB / 0.7235 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02136/0.346, allocations: 6.809 MB / 0.7302 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.346, allocations: 4 kB / 0.7302 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.009995/0.356, allocations: 4.012 MB / 0.7341 GB, free: 100 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/0.356, allocations: 57.67 kB / 0.7342 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.3561, allocations: 12 kB / 0.7342 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.3566, allocations: 321.4 kB / 0.7345 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/0.3598, allocations: 0.6631 MB / 0.7351 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/0.3599, allocations: 27.92 kB / 0.7351 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.3625, allocations: 393.8 kB / 0.7355 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.3628, allocations: 108 kB / 0.7356 GB, free: 14.52 MB / 0.5762 GB Warning: Assuming fixed start value for the following 26 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.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_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.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.injector.running.value:DISCRETE(flow=false start = PV.injector.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_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004218/0.367, allocations: 1.874 MB / 0.7375 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00364/0.3706, allocations: 2.169 MB / 0.7396 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02079/0.3914, allocations: 6.661 MB / 0.7461 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-05/0.3914, allocations: 112 / 0.7461 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.009373/0.4008, allocations: 3.918 MB / 0.7499 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.4009, allocations: 57.67 kB / 0.75 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.4009, allocations: 11.94 kB / 0.75 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.4014, allocations: 325.1 kB / 0.7503 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.4044, allocations: 0.6436 MB / 0.7509 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.708e-05/0.4044, allocations: 27.94 kB / 0.7509 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.407, allocations: 334.7 kB / 0.7513 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.4072, allocations: 108 kB / 0.7514 GB, free: 13.91 MB / 0.5919 GB Warning: Assuming fixed start value for the following 26 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.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_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.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.injector.running.value:DISCRETE(flow=false start = PV.injector.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_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: 38 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.PV.injector.state,PV.injector.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.injector.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.injector.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,$whenCondition10,$whenCondition9,$whenCondition11,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.4082, allocations: 476.2 kB / 0.7518 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.4088, allocations: 302 kB / 0.7521 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/0.4164, allocations: 2.961 MB / 0.755 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4165, allocations: 20 kB / 0.755 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.4165, allocations: 7.938 kB / 0.755 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.4165, allocations: 11.95 kB / 0.755 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.4289, allocations: 5.894 MB / 0.7608 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4289, allocations: 4.469 kB / 0.7608 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/0.4315, allocations: 435.4 kB / 0.7612 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.4321, allocations: 308.7 kB / 0.7615 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.4322, allocations: 47.98 kB / 0.7615 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.279e-05/0.4322, allocations: 23.92 kB / 0.7616 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4322, allocations: 4 kB / 0.7616 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.4431, allocations: 4.696 MB / 0.7662 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/0.445, allocations: 0.6146 MB / 0.7668 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.4453, allocations: 55.98 kB / 0.7668 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.447, allocations: 179.8 kB / 0.767 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/0.4474, allocations: 177.8 kB / 0.7672 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.4476, allocations: 67.91 kB / 0.7672 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002807/0.4504, allocations: 1.638 MB / 0.7688 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4504, allocations: 3.938 kB / 0.7688 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003016/0.4534, allocations: 1.158 MB / 0.77 GB, free: 10.66 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (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,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.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]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$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.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 4 (PV.injector.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 (189): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/0.4646, allocations: 5.367 MB / 0.7752 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.4763, allocations: 4.893 MB / 0.78 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.4764, allocations: 4.312 kB / 0.78 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.3128/0.7892, allocations: 1.411 MB / 0.7814 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.7921, allocations: 433.8 kB / 0.7818 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04859/0.8406, allocations: 25.32 MB / 0.8065 GB, free: 120.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009655/0.8416, allocations: 1.123 MB / 0.8076 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001836/0.8434, allocations: 383.5 kB / 0.808 GB, free: 119.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.8449, allocations: 1.165 MB / 0.8091 GB, free: 119 MB / 0.6075 GB Notification: Performance of SimCode: time 1.613e-06/0.8449, allocations: 0 / 0.8091 GB, free: 119 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/0.9495, allocations: 65.71 MB / 0.8733 GB, free: 54.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/16.57, allocations: 16 kB / 0.8733 GB, free: 54.61 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_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_PVCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.97167452890426]