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.001577/0.001577, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001858/0.001858, allocations: 216.2 kB / 23.77 MB, free: 4.52 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.581/1.581, allocations: 207.7 MB / 234.6 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.6502/0.6502, allocations: 103.8 MB / 390.7 MB, free: 21.42 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: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB") [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.002649/0.002649, allocations: 70.34 kB / 0.5529 GB, free: 58.31 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1479, allocations: 76 MB / 0.6271 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01129/0.1592, allocations: 9.856 MB / 0.6367 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1713, allocations: 5.485 MB / 0.6421 GB, free: 9.336 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.1745, allocations: 83.38 kB / 0.6422 GB, free: 9.254 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.002349/0.1769, allocations: 0.5094 MB / 0.6427 GB, free: 8.742 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.1809, allocations: 0.7485 MB / 0.6434 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.1872, allocations: 2.542 MB / 0.6459 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006751/0.1939, allocations: 4.01 MB / 0.6498 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.1966, allocations: 0.9989 MB / 0.6508 GB, free: 376 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.1992, allocations: 1.463 MB / 0.6522 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.2008, allocations: 1.332 MB / 0.6535 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005576/0.2014, allocations: 440 kB / 0.6539 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2024, allocations: 0.6054 MB / 0.6545 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007795/0.2032, allocations: 0.837 MB / 0.6553 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2045, allocations: 1.278 MB / 0.6566 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.2107, allocations: 5.223 MB / 0.6617 GB, free: 5.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2107, allocations: 0 / 0.6617 GB, free: 5.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2107, allocations: 0 / 0.6617 GB, free: 5.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.2108, allocations: 7.938 kB / 0.6617 GB, free: 5.148 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.009791/0.2206, allocations: 3.987 MB / 0.6656 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2207, allocations: 12.03 kB / 0.6656 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/0.2248, allocations: 0.8575 MB / 0.6664 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.2287, allocations: 2.078 MB / 0.6684 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006156/0.2293, allocations: 0.698 MB / 0.6691 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.2297, allocations: 220.1 kB / 0.6693 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006092/0.2358, allocations: 3.219 MB / 0.6725 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.2358, allocations: 4 kB / 0.6725 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.2361, allocations: 92 kB / 0.6726 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.2361, allocations: 48 kB / 0.6726 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005384/0.2415, allocations: 2.316 MB / 0.6749 GB, free: 7.066 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.01452/0.256, allocations: 8.257 MB / 0.6829 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/0.2621, allocations: 2.495 MB / 0.6854 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.2643, allocations: 1.01 MB / 0.6864 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.2644, allocations: 29.3 kB / 0.6864 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002879/0.2673, allocations: 1.543 MB / 0.6879 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 3.427e-06/0.2673, allocations: 0 / 0.6879 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.009803/0.2771, allocations: 3.687 MB / 0.6915 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/0.2775, allocations: 0.5061 MB / 0.692 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.2813, allocations: 2.038 MB / 0.694 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002978/0.2816, allocations: 65.7 kB / 0.694 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.2829, allocations: 1.234 MB / 0.6953 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/0.2837, allocations: 0.5849 MB / 0.6958 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/0.2844, allocations: 343.4 kB / 0.6962 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2845, allocations: 301.1 kB / 0.6964 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.2868, allocations: 1.002 MB / 0.6974 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.2898, allocations: 1.868 MB / 0.6992 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/0.3065, allocations: 5.325 MB / 0.7044 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.3065, allocations: 4 kB / 0.7044 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00788/0.3144, allocations: 3.042 MB / 0.7074 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.3144, allocations: 44.97 kB / 0.7075 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.3145, allocations: 8 kB / 0.7075 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.315, allocations: 316.9 kB / 0.7078 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3174, allocations: 467.3 kB / 0.7082 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/0.3174, allocations: 19.94 kB / 0.7082 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.3196, allocations: 282.8 kB / 0.7085 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.3197, allocations: 67.98 kB / 0.7086 GB, free: 3.672 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.003372/0.3231, allocations: 1.48 MB / 0.71 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00278/0.3259, allocations: 1.818 MB / 0.7118 GB, free: 100 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01612/0.342, allocations: 5.18 MB / 0.7168 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-05/0.342, allocations: 4 kB / 0.7169 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.008026/0.3501, allocations: 2.944 MB / 0.7197 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.3501, allocations: 41.45 kB / 0.7198 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3501, allocations: 8 kB / 0.7198 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.3506, allocations: 313.3 kB / 0.7201 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.353, allocations: 451.4 kB / 0.7205 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-05/0.353, allocations: 23.94 kB / 0.7205 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.3554, allocations: 263 kB / 0.7208 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.3557, allocations: 67.98 kB / 0.7208 GB, free: 6.641 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.001061/0.3567, allocations: 465 kB / 0.7213 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009166/0.3576, allocations: 266.3 kB / 0.7215 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/0.3653, allocations: 2.834 MB / 0.7243 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.3653, allocations: 16 kB / 0.7243 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3653, allocations: 0 / 0.7243 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.3653, allocations: 11.95 kB / 0.7243 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.3783, allocations: 5.262 MB / 0.7295 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3783, allocations: 0 / 0.7295 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.3808, allocations: 395.5 kB / 0.7298 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.3813, allocations: 296.7 kB / 0.7301 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.3815, allocations: 55.97 kB / 0.7302 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.3816, allocations: 7.938 kB / 0.7302 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3816, allocations: 0 / 0.7302 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.3918, allocations: 4.314 MB / 0.7344 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/0.3935, allocations: 0.533 MB / 0.7349 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/0.3942, allocations: 52 kB / 0.735 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.3961, allocations: 179.9 kB / 0.7351 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/0.3965, allocations: 137.7 kB / 0.7353 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.3966, allocations: 55.97 kB / 0.7353 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003214/0.3999, allocations: 1.342 MB / 0.7366 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3999, allocations: 0 / 0.7366 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003783/0.4036, allocations: 0.9933 MB / 0.7376 GB, free: 5.312 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.0006651/0.4043, allocations: 215.1 kB / 0.7378 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009135/0.4134, allocations: 3.805 MB / 0.7415 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.4135, allocations: 8 kB / 0.7415 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002972/0.4164, allocations: 1.287 MB / 0.7428 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.419, allocations: 445.8 kB / 0.7432 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.431, allocations: 5.184 MB / 0.7483 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.4324, allocations: 1.078 MB / 0.7493 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.4334, allocations: 163.4 kB / 0.7495 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of SimCode: time 1.452e-06/0.4334, allocations: 0 / 0.7495 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.451/0.8844, allocations: 49.72 MB / 0.798 GB, free: 147.5 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.makefile [Timeout 660] (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 & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.192101560998708] Failed to read output from testmodel.py, exit status != 0: 1.167602316942066 0.903882366 0.690758047 Calling exit ...