Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.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.00133/0.00133, allocations: 108.3 kB / 19.72 MB, free: 2.059 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.001502/0.001502, allocations: 206.3 kB / 23 MB, free: 4.887 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.435/1.435, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.6256/0.6256, allocations: 103.8 MB / 389.9 MB, free: 21.26 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",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.002218/0.002218, allocations: 66.84 kB / 0.5517 GB, free: 58.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.138, allocations: 76 MB / 0.6259 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.009471/0.1475, allocations: 9.848 MB / 0.6355 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1582, allocations: 5.489 MB / 0.6409 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.1607, allocations: 83.38 kB / 0.6409 GB, free: 9.613 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.001866/0.1625, allocations: 0.5107 MB / 0.6414 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.1656, allocations: 0.7485 MB / 0.6422 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006106/0.1717, allocations: 2.543 MB / 0.6446 GB, free: 5.812 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006406/0.1781, allocations: 4.01 MB / 0.6486 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.1803, allocations: 1.061 MB / 0.6496 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.1826, allocations: 1.467 MB / 0.651 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.1843, allocations: 1.489 MB / 0.6525 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005816/0.1849, allocations: 440 kB / 0.6529 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1859, allocations: 0.6131 MB / 0.6535 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.1867, allocations: 0.837 MB / 0.6543 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.188, allocations: 1.275 MB / 0.6556 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006308/0.1943, allocations: 5.224 MB / 0.6607 GB, free: 5.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1943, allocations: 0 / 0.6607 GB, free: 5.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1943, allocations: 0 / 0.6607 GB, free: 5.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.1944, allocations: 4 kB / 0.6607 GB, free: 5.285 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01002/0.2044, allocations: 3.995 MB / 0.6646 GB, free: 1.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.2045, allocations: 16.03 kB / 0.6646 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004108/0.2049, allocations: 303.6 kB / 0.6649 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.2092, allocations: 0.8535 MB / 0.6657 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.2133, allocations: 2.071 MB / 0.6677 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/0.2139, allocations: 0.7058 MB / 0.6684 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.2143, allocations: 215.8 kB / 0.6686 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005848/0.2202, allocations: 3.219 MB / 0.6718 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.2202, allocations: 4 kB / 0.6718 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.2204, allocations: 91.98 kB / 0.6719 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.2205, allocations: 52 kB / 0.6719 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/0.2258, allocations: 2.32 MB / 0.6742 GB, free: 6.883 MB / 0.4981 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.01536/0.2412, allocations: 8.586 MB / 0.6826 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/0.2477, allocations: 2.491 MB / 0.685 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.25, allocations: 1.014 MB / 0.686 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.2501, allocations: 29.23 kB / 0.686 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003015/0.2531, allocations: 1.543 MB / 0.6875 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 4.057e-06/0.2531, allocations: 4 kB / 0.6875 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.01006/0.2632, allocations: 3.714 MB / 0.6911 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003065/0.2635, allocations: 0.5101 MB / 0.6916 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.2672, allocations: 2.335 MB / 0.6939 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000324/0.2676, allocations: 65.7 kB / 0.694 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.2688, allocations: 1.228 MB / 0.6952 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.2695, allocations: 0.5926 MB / 0.6958 GB, free: 364 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006139/0.2701, allocations: 335.5 kB / 0.6961 GB, free: 24 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2703, allocations: 301.1 kB / 0.6964 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.2726, allocations: 0.9942 MB / 0.6973 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.2756, allocations: 1.872 MB / 0.6992 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.2927, allocations: 5.321 MB / 0.7044 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.2927, allocations: 0 / 0.7044 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007911/0.3006, allocations: 3.073 MB / 0.7074 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3006, allocations: 41.69 kB / 0.7074 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.3007, allocations: 8 kB / 0.7074 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.3012, allocations: 321.1 kB / 0.7077 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.3038, allocations: 467.3 kB / 0.7082 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.154e-05/0.3038, allocations: 27.92 kB / 0.7082 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.3063, allocations: 318.3 kB / 0.7085 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.3065, allocations: 67.98 kB / 0.7086 GB, free: 2.77 MB / 0.5294 GB Warning: Assuming fixed start value for the following 23 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.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003849/0.3104, allocations: 1.484 MB / 0.71 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002829/0.3132, allocations: 1.821 MB / 0.7118 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01626/0.3295, allocations: 5.18 MB / 0.7169 GB, free: 9.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.006e-05/0.3295, allocations: 0 / 0.7169 GB, free: 9.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007422/0.3369, allocations: 2.967 MB / 0.7197 GB, free: 6.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.337, allocations: 41.69 kB / 0.7198 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.337, allocations: 12 kB / 0.7198 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.3375, allocations: 313.5 kB / 0.7201 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.3399, allocations: 447.4 kB / 0.7205 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.531e-05/0.3399, allocations: 27.86 kB / 0.7206 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.3425, allocations: 263 kB / 0.7208 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.3426, allocations: 68 kB / 0.7209 GB, free: 5.711 MB / 0.545 GB Warning: Assuming fixed start value for the following 23 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.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.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.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 41 ($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.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.injector.running.value,PV.wecc_repc.freeze,PV.injector.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.wecc_reec.frtOn,PV.line.running.value,line.running.value,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,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 (225): * Single equations (assignments): 223 * 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.0008623/0.3435, allocations: 460.4 kB / 0.7213 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/0.3441, allocations: 290.2 kB / 0.7216 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007258/0.3514, allocations: 2.856 MB / 0.7244 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.3514, allocations: 16 kB / 0.7244 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.3514, allocations: 12 kB / 0.7244 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.3515, allocations: 7.969 kB / 0.7244 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.3634, allocations: 5.474 MB / 0.7298 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3634, allocations: 0 / 0.7298 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/0.3659, allocations: 395.5 kB / 0.7301 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/0.3664, allocations: 312.7 kB / 0.7304 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.3666, allocations: 43.98 kB / 0.7305 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.3666, allocations: 7.938 kB / 0.7305 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3666, allocations: 0 / 0.7305 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.3767, allocations: 4.347 MB / 0.7347 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.3783, allocations: 0.5759 MB / 0.7353 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.3787, allocations: 47.92 kB / 0.7353 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.3804, allocations: 175.8 kB / 0.7355 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.3807, allocations: 137.7 kB / 0.7356 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.3809, allocations: 51.98 kB / 0.7357 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002693/0.3835, allocations: 1.562 MB / 0.7372 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3835, allocations: 0 / 0.7372 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002602/0.3862, allocations: 0.9432 MB / 0.7381 GB, free: 3.883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.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: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_reec.frtOn,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 7 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.01065/0.3968, allocations: 5.014 MB / 0.743 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009043/0.4058, allocations: 3.787 MB / 0.7467 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4059, allocations: 8.125 kB / 0.7467 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.4089, allocations: 1.274 MB / 0.748 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.4114, allocations: 475.3 kB / 0.7484 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/0.4606, allocations: 22.73 MB / 0.7706 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.4619, allocations: 1.082 MB / 0.7717 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001759/0.4637, allocations: 316.2 kB / 0.772 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/0.4654, allocations: 1.109 MB / 0.7731 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/0.4654, allocations: 4 kB / 0.7731 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4374/0.9028, allocations: 62.25 MB / 0.8339 GB, free: 118.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.83, allocations: 3.938 kB / 0.8339 GB, free: 118.3 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.070581918000244] Failed to read output from testmodel.py, exit status != 0: 16.24760015399079 16.003638158 15.805474434 Calling exit ...