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.001574/0.001574, allocations: 88.22 kB / 20.23 MB, free: 4.207 MB / 18.57 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.001648/0.001648, allocations: 157.6 kB / 23.53 MB, free: 0.9023 MB / 18.57 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.374/1.374, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 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.5568/0.5568, allocations: 76.92 MB / 314.6 MB, free: 10.64 MB / 298.7 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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 414.5 MB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.348e-05, allocations: 2.312 kB / 414.5 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.0212/0.02123, allocations: 10.9 MB / 425.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.03888, allocations: 5.886 MB / 431.3 MB, free: 7.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003996/0.04288, allocations: 95.31 kB / 431.4 MB, free: 7.57 MB / 410.7 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.003552/0.04643, allocations: 0.592 MB / 432 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006893/0.05333, allocations: 1.148 MB / 433.1 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009536/0.06286, allocations: 2.671 MB / 435.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.07313, allocations: 4.555 MB / 440.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004925/0.07805, allocations: 1.116 MB / 441.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.08209, allocations: 1.527 MB / 443 MB, free: 11.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.08512, allocations: 1.265 MB / 444.2 MB, free: 10.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.08678, allocations: 500 kB / 444.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.08912, allocations: 0.7066 MB / 445.4 MB, free: 9.395 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.09094, allocations: 0.9576 MB / 446.4 MB, free: 8.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003022/0.09396, allocations: 1.2 MB / 447.6 MB, free: 7.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.1067, allocations: 6.118 MB / 453.7 MB, free: 1.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1067, allocations: 0 / 453.7 MB, free: 1.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1067, allocations: 0 / 453.7 MB, free: 1.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.107, allocations: 4 kB / 453.7 MB, free: 1.09 MB / 426.7 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.02377/0.1307, allocations: 4.581 MB / 458.3 MB, free: 12.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.1308, allocations: 8.031 kB / 458.3 MB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.1432, allocations: 1.349 MB / 459.7 MB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/0.1504, allocations: 2.463 MB / 462.1 MB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009775/0.1514, allocations: 0.722 MB / 462.8 MB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.1528, allocations: 256.3 kB / 463.1 MB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.1643, allocations: 3.626 MB / 466.7 MB, free: 3.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.262e-05/0.1644, allocations: 11.88 kB / 466.7 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000607/0.165, allocations: 100 kB / 466.8 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.34e-05/0.1651, allocations: 64 kB / 466.9 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007655/0.1727, allocations: 2.623 MB / 469.5 MB, free: 0.7148 MB / 442.7 MB 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.2304/0.4032, allocations: 9.692 MB / 479.2 MB, free: 91.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.411, allocations: 2.841 MB / 482 MB, free: 90.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/0.414, allocations: 1.168 MB / 483.2 MB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.4143, allocations: 36 kB / 483.2 MB, free: 89.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004136/0.4184, allocations: 1.759 MB / 485 MB, free: 88.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 6.392e-06/0.4184, allocations: 3.938 kB / 485 MB, free: 88.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.01325/0.4317, allocations: 4.49 MB / 489.5 MB, free: 87.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.4319, allocations: 0.5436 MB / 490 MB, free: 86.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/0.4371, allocations: 2.246 MB / 492.3 MB, free: 85.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006568/0.4377, allocations: 66.83 kB / 492.4 MB, free: 85.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.4391, allocations: 1.389 MB / 493.7 MB, free: 84.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001396/0.4405, allocations: 0.6726 MB / 494.4 MB, free: 84.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.4424, allocations: 388 kB / 494.8 MB, free: 83.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.4425, allocations: 301.1 kB / 495.1 MB, free: 83.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.4453, allocations: 1.16 MB / 496.3 MB, free: 83.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.4484, allocations: 2.092 MB / 498.3 MB, free: 81.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/0.4678, allocations: 6.148 MB / 0.4927 GB, free: 79.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/0.4679, allocations: 2.656 kB / 0.4927 GB, free: 79.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0114/0.4793, allocations: 3.735 MB / 0.4963 GB, free: 77.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.4794, allocations: 39.91 kB / 0.4964 GB, free: 77.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.4794, allocations: 11.56 kB / 0.4964 GB, free: 77.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/0.4801, allocations: 474.5 kB / 0.4968 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.483, allocations: 0.5086 MB / 0.4973 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.285e-05/0.4831, allocations: 35.33 kB / 0.4974 GB, free: 77.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.486, allocations: 299.1 kB / 0.4976 GB, free: 77.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.4865, allocations: 85.09 kB / 0.4977 GB, free: 77.18 MB / 442.7 MB 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.004742/0.4912, allocations: 1.72 MB / 0.4994 GB, free: 76.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003296/0.4945, allocations: 2.038 MB / 0.5014 GB, free: 74.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02005/0.5146, allocations: 6.011 MB / 0.5073 GB, free: 72.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.173e-05/0.5146, allocations: 3.562 kB / 0.5073 GB, free: 72.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009996/0.5246, allocations: 3.63 MB / 0.5108 GB, free: 70.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.5247, allocations: 44.23 kB / 0.5108 GB, free: 70.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.5247, allocations: 8 kB / 0.5109 GB, free: 70.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.5253, allocations: 478.6 kB / 0.5113 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.528, allocations: 498.5 kB / 0.5118 GB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.632e-05/0.528, allocations: 26.47 kB / 0.5118 GB, free: 69.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.5307, allocations: 288.6 kB / 0.5121 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/0.5311, allocations: 79.09 kB / 0.5122 GB, free: 69.1 MB / 442.7 MB 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.001236/0.5324, allocations: 0.4919 MB / 0.5126 GB, free: 68.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/0.5335, allocations: 365 kB / 0.513 GB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008391/0.5419, allocations: 3.352 MB / 0.5163 GB, free: 65.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.542, allocations: 20 kB / 0.5163 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/0.542, allocations: 4 kB / 0.5163 GB, free: 65.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/0.542, allocations: 10.22 kB / 0.5163 GB, free: 65.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.5558, allocations: 6.126 MB / 0.5223 GB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5558, allocations: 4 kB / 0.5223 GB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/0.5585, allocations: 431.4 kB / 0.5227 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/0.5591, allocations: 468.5 kB / 0.5231 GB, free: 58.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/0.5594, allocations: 51.98 kB / 0.5232 GB, free: 58.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.985e-05/0.5595, allocations: 4 kB / 0.5232 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5595, allocations: 4 kB / 0.5232 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.5704, allocations: 5.216 MB / 0.5283 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/0.5723, allocations: 0.6158 MB / 0.5289 GB, free: 53.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007813/0.5731, allocations: 55.94 kB / 0.5289 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.5752, allocations: 187.8 kB / 0.5291 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/0.5757, allocations: 173.7 kB / 0.5293 GB, free: 52.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.5759, allocations: 63.97 kB / 0.5294 GB, free: 52.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003072/0.579, allocations: 1.493 MB / 0.5308 GB, free: 51.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.579, allocations: 0 / 0.5308 GB, free: 51.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004272/0.5832, allocations: 1.138 MB / 0.5319 GB, free: 50 MB / 442.7 MB 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.0009101/0.5841, allocations: 232.5 kB / 0.5321 GB, free: 49.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009722/0.5939, allocations: 4.414 MB / 0.5365 GB, free: 45.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.5939, allocations: 7.938 kB / 0.5365 GB, free: 45.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003166/0.597, allocations: 1.49 MB / 0.5379 GB, free: 43.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/0.6008, allocations: 0.5654 MB / 0.5385 GB, free: 43.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.6134, allocations: 5.804 MB / 0.5441 GB, free: 37.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.6151, allocations: 1.218 MB / 0.5453 GB, free: 36.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002696/0.6178, allocations: 332.6 kB / 0.5456 GB, free: 35.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/0.6188, allocations: 172.5 kB / 0.5458 GB, free: 35.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.884e-06/0.6188, allocations: 0 / 0.5458 GB, free: 35.68 MB / 442.7 MB Notification: Performance of Templates: time 0.05573/0.6745, allocations: 38.13 MB / 0.583 GB, free: 13.79 MB / 458.7 MB " [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: 6.757751130033284]