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.00179/0.00179, allocations: 100.3 kB / 20.47 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.002048/0.002048, allocations: 226.1 kB / 23.77 MB, free: 4.523 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.484/1.484, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.6175/0.6175, allocations: 103.8 MB / 390.7 MB, free: 21.41 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.002254/0.002254, allocations: 70.86 kB / 0.5529 GB, free: 58.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 75.99 MB / 0.6271 GB, free: 8.758 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01024/0.1374, allocations: 9.864 MB / 0.6367 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.148, allocations: 5.489 MB / 0.6421 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.1506, allocations: 79.44 kB / 0.6422 GB, free: 9.25 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.002012/0.1526, allocations: 0.5211 MB / 0.6427 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.1558, allocations: 0.7368 MB / 0.6434 GB, free: 7.984 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005396/0.1612, allocations: 2.544 MB / 0.6459 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.1668, allocations: 4.009 MB / 0.6498 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.1687, allocations: 1.065 MB / 0.6508 GB, free: 304 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.1709, allocations: 1.463 MB / 0.6522 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.1726, allocations: 1.493 MB / 0.6537 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006282/0.1733, allocations: 440 kB / 0.6541 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1743, allocations: 0.6093 MB / 0.6547 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007895/0.1751, allocations: 0.8448 MB / 0.6555 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.1765, allocations: 1.275 MB / 0.6568 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006187/0.1826, allocations: 5.223 MB / 0.6619 GB, free: 4.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1826, allocations: 0 / 0.6619 GB, free: 4.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1827, allocations: 0 / 0.6619 GB, free: 4.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.1828, allocations: 0 / 0.6619 GB, free: 4.918 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.01104/0.1938, allocations: 3.999 MB / 0.6658 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1938, allocations: 8.031 kB / 0.6658 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.1984, allocations: 0.8576 MB / 0.6666 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/0.2028, allocations: 2.074 MB / 0.6687 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007073/0.2035, allocations: 0.7019 MB / 0.6694 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000729/0.2043, allocations: 216.1 kB / 0.6696 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008767/0.213, allocations: 3.219 MB / 0.6727 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/0.2131, allocations: 7.938 kB / 0.6727 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.2135, allocations: 95.98 kB / 0.6728 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.2135, allocations: 55.98 kB / 0.6729 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007996/0.2215, allocations: 2.305 MB / 0.6751 GB, free: 6.828 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.02211/0.2436, allocations: 8.25 MB / 0.6832 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009782/0.2534, allocations: 2.503 MB / 0.6856 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003683/0.2571, allocations: 1.014 MB / 0.6866 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.2573, allocations: 25.31 kB / 0.6866 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/0.2617, allocations: 1.547 MB / 0.6881 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=170): time 4.749e-06/0.2617, allocations: 0 / 0.6881 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=170): time 0.01183/0.2736, allocations: 3.686 MB / 0.6917 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004418/0.274, allocations: 0.5139 MB / 0.6922 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.2782, allocations: 2.026 MB / 0.6942 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000447/0.2786, allocations: 65.69 kB / 0.6943 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.28, allocations: 1.234 MB / 0.6955 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/0.2808, allocations: 0.5926 MB / 0.6961 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006674/0.2815, allocations: 339.5 kB / 0.6964 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2816, allocations: 309.1 kB / 0.6967 GB, free: 320 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.284, allocations: 0.9943 MB / 0.6976 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.2871, allocations: 1.872 MB / 0.6995 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.3052, allocations: 5.321 MB / 0.7047 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.3052, allocations: 4 kB / 0.7047 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007955/0.3131, allocations: 3.045 MB / 0.7076 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.3132, allocations: 40.98 kB / 0.7077 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.3132, allocations: 8.781 kB / 0.7077 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/0.3138, allocations: 320.7 kB / 0.708 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.3165, allocations: 467.3 kB / 0.7084 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.395e-05/0.3165, allocations: 19.94 kB / 0.7085 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.3187, allocations: 278.8 kB / 0.7087 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.3189, allocations: 67.98 kB / 0.7088 GB, free: 3.426 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.003429/0.3223, allocations: 1.483 MB / 0.7102 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002919/0.3253, allocations: 1.81 MB / 0.712 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01706/0.3423, allocations: 5.188 MB / 0.7171 GB, free: 10.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/0.3423, allocations: 4 kB / 0.7171 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.00743/0.3498, allocations: 2.941 MB / 0.72 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.3498, allocations: 45.45 kB / 0.72 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3498, allocations: 8 kB / 0.72 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.3503, allocations: 316.8 kB / 0.7203 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.3528, allocations: 451.3 kB / 0.7207 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/0.3528, allocations: 19.94 kB / 0.7208 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.3549, allocations: 259 kB / 0.721 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.3551, allocations: 71.98 kB / 0.7211 GB, free: 6.395 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.0008274/0.356, allocations: 453.2 kB / 0.7215 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.3566, allocations: 266.3 kB / 0.7218 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007358/0.3639, allocations: 2.842 MB / 0.7245 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.3639, allocations: 16 kB / 0.7245 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.364, allocations: 0 / 0.7245 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.364, allocations: 11.91 kB / 0.7246 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.3759, allocations: 5.254 MB / 0.7297 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3759, allocations: 4 kB / 0.7297 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/0.3787, allocations: 395.5 kB / 0.7301 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.3793, allocations: 300.7 kB / 0.7304 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.3795, allocations: 47.98 kB / 0.7304 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.3795, allocations: 7.938 kB / 0.7304 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3795, allocations: 0 / 0.7304 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.3897, allocations: 4.318 MB / 0.7346 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.3914, allocations: 0.5329 MB / 0.7351 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/0.3919, allocations: 55.98 kB / 0.7352 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.3938, allocations: 171.9 kB / 0.7354 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.3941, allocations: 145.7 kB / 0.7355 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.3943, allocations: 55.98 kB / 0.7356 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002474/0.3967, allocations: 1.346 MB / 0.7369 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3967, allocations: 0 / 0.7369 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003167/0.3999, allocations: 0.9894 MB / 0.7378 GB, free: 5.074 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.0005895/0.4005, allocations: 211.2 kB / 0.738 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00887/0.4094, allocations: 3.787 MB / 0.7417 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.4094, allocations: 7.938 kB / 0.7417 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/0.4124, allocations: 1.278 MB / 0.743 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.4148, allocations: 450.8 kB / 0.7434 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.4259, allocations: 5.112 MB / 0.7484 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.4272, allocations: 1.078 MB / 0.7495 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001816/0.4291, allocations: 302.6 kB / 0.7498 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.4297, allocations: 155.4 kB / 0.7499 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/0.4297, allocations: 0 / 0.7499 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of Templates: time 0.06328/0.493, allocations: 35.07 MB / 0.7842 GB, free: 5.617 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 -s cvode -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9583794259961] Failed to read output from testmodel.py, exit status != 0: 0.7229374419985106 0.755869135 0.5704126199999999 Calling exit ...