Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.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.001671/0.001671, allocations: 96.36 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.001631/0.001631, allocations: 217.5 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.78/1.78, 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.6197/0.6197, allocations: 103.8 MB / 390.7 MB, free: 21.19 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.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") [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.00216/0.00216, allocations: 70.84 kB / 0.5529 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1541, allocations: 75.99 MB / 0.6271 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01201/0.1661, allocations: 10.91 MB / 0.6377 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.1789, allocations: 5.872 MB / 0.6435 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.1828, allocations: 95.31 kB / 0.6436 GB, free: 7.633 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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.002538/0.1853, allocations: 0.5798 MB / 0.6441 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.1904, allocations: 1.13 MB / 0.6452 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00624/0.1967, allocations: 2.666 MB / 0.6478 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008003/0.2047, allocations: 4.548 MB / 0.6523 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.2085, allocations: 1.182 MB / 0.6534 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.2121, allocations: 1.662 MB / 0.6551 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/0.2154, allocations: 1.703 MB / 0.6567 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.2166, allocations: 0.4922 MB / 0.6572 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.2183, allocations: 0.7147 MB / 0.6579 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009928/0.2193, allocations: 0.9538 MB / 0.6588 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.221, allocations: 1.453 MB / 0.6603 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.2286, allocations: 5.97 MB / 0.6661 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.2286, allocations: 4 kB / 0.6661 GB, free: 456 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2286, allocations: 0 / 0.6661 GB, free: 456 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.2287, allocations: 0 / 0.6661 GB, free: 456 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01299/0.2417, allocations: 4.624 MB / 0.6706 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2417, allocations: 8.031 kB / 0.6706 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.2473, allocations: 1.068 MB / 0.6717 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.2521, allocations: 2.346 MB / 0.6739 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000666/0.2528, allocations: 0.722 MB / 0.6747 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/0.2533, allocations: 255.8 kB / 0.6749 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006916/0.2602, allocations: 3.62 MB / 0.6784 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.543e-05/0.2602, allocations: 11.92 kB / 0.6784 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.2605, allocations: 104 kB / 0.6785 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.2606, allocations: 56 kB / 0.6786 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.2665, allocations: 2.615 MB / 0.6811 GB, free: 452 kB / 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.01764/0.2841, allocations: 9.613 MB / 0.6905 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007589/0.2917, allocations: 2.839 MB / 0.6933 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.2943, allocations: 1.156 MB / 0.6944 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.2945, allocations: 33.98 kB / 0.6945 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003471/0.2979, allocations: 1.767 MB / 0.6962 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.019e-06/0.2979, allocations: 0 / 0.6962 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.0121/0.31, allocations: 4.425 MB / 0.7005 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003721/0.3104, allocations: 0.5391 MB / 0.701 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/0.3144, allocations: 2.241 MB / 0.7032 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.3149, allocations: 69.7 kB / 0.7033 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.3164, allocations: 1.387 MB / 0.7047 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000989/0.3174, allocations: 0.6817 MB / 0.7053 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000758/0.3182, allocations: 391.7 kB / 0.7057 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3183, allocations: 305.1 kB / 0.706 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/0.3209, allocations: 1.151 MB / 0.7071 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.3243, allocations: 2.095 MB / 0.7092 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/0.3426, allocations: 6.162 MB / 0.7152 GB, free: 12.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.3426, allocations: 4 kB / 0.7152 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009348/0.352, allocations: 3.635 MB / 0.7187 GB, free: 8.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.352, allocations: 41.69 kB / 0.7188 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.3521, allocations: 12 kB / 0.7188 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007699/0.3528, allocations: 477.2 kB / 0.7192 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.3554, allocations: 0.507 MB / 0.7197 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-05/0.3554, allocations: 35.86 kB / 0.7198 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.358, allocations: 298.7 kB / 0.72 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.3582, allocations: 83.98 kB / 0.7201 GB, free: 7.543 MB / 0.545 GB Warning: Assuming fixed start value for the following 27 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004049/0.3622, allocations: 1.714 MB / 0.7218 GB, free: 5.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003197/0.3654, allocations: 2.037 MB / 0.7238 GB, free: 3.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0184/0.3838, allocations: 6.009 MB / 0.7297 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.566e-05/0.3838, allocations: 4 kB / 0.7297 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009263/0.3931, allocations: 3.538 MB / 0.7331 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.3931, allocations: 41.64 kB / 0.7332 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.3932, allocations: 12 kB / 0.7332 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.3939, allocations: 476.8 kB / 0.7336 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.3963, allocations: 499.2 kB / 0.7341 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-05/0.3964, allocations: 31.92 kB / 0.7341 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.399, allocations: 290.9 kB / 0.7344 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.3992, allocations: 83.98 kB / 0.7345 GB, free: 8.309 MB / 0.5606 GB Warning: Assuming fixed start value for the following 27 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.PV.source.state,PV.source.state,$PRE.PV.line.state,PV.line.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.source.running.value,PV.wecc_reec.frtOn,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.line.running.value,line.running.value,$whenCondition14,$whenCondition13,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition11,$whenCondition10,$whenCondition12,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.VSourceRef.pll.limIntegrator.local_reset,PV.VSourceRef.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.4003, allocations: 492.9 kB / 0.735 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009809/0.4013, allocations: 298.1 kB / 0.7352 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008376/0.4097, allocations: 3.354 MB / 0.7385 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.4097, allocations: 20 kB / 0.7385 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4097, allocations: 4 kB / 0.7385 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.4098, allocations: 11.95 kB / 0.7385 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.4234, allocations: 6.122 MB / 0.7445 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.4234, allocations: 4 kB / 0.7445 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002544/0.426, allocations: 435.4 kB / 0.7449 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000699/0.4267, allocations: 460.5 kB / 0.7454 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.4269, allocations: 56.05 kB / 0.7454 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.4269, allocations: 8 kB / 0.7454 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4269, allocations: 4 kB / 0.7455 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.4386, allocations: 5.146 MB / 0.7505 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.4407, allocations: 0.6146 MB / 0.7511 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000804/0.4415, allocations: 59.98 kB / 0.7511 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.4436, allocations: 187.7 kB / 0.7513 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/0.444, allocations: 169.7 kB / 0.7515 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.4442, allocations: 63.97 kB / 0.7515 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003525/0.4478, allocations: 1.493 MB / 0.753 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4478, allocations: 7.938 kB / 0.753 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004605/0.4524, allocations: 1.149 MB / 0.7541 GB, free: 4.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 25 (PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.VSourceRef.firstOrder.y,PV.VSourceRef.firstOrder1.y,PV.VSourceRef.pll.integrator.y,PV.VSourceRef.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 27 ($whenCondition12,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition13,$whenCondition14,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,PV.wecc_reec.frtOn,$whenCondition9,$whenCondition7,$whenCondition8,PV.injector.running.value,PV.injector.state) * Number of discrete states: 8 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition14,$whenCondition13) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00078/0.4531, allocations: 225.5 kB / 0.7543 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.4642, allocations: 4.458 MB / 0.7587 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.4642, allocations: 5.125 kB / 0.7587 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/0.468, allocations: 1.508 MB / 0.7602 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/0.472, allocations: 0.5055 MB / 0.7607 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.4877, allocations: 5.916 MB / 0.7664 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/0.4898, allocations: 1.21 MB / 0.7676 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.4911, allocations: 187.4 kB / 0.7678 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of SimCode: time 1.572e-06/0.4911, allocations: 7.938 kB / 0.7678 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of Templates: time 0.4827/0.9737, allocations: 56.71 MB / 0.8232 GB, free: 125.2 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB -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.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.415363478998188] Failed to read output from testmodel.py, exit status != 0: 1.2567070579971187 0.992612746 0.761616904 Calling exit ...