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.0008273/0.0008273, allocations: 76.94 kB / 20.74 MB, free: 3.746 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.0008784/0.0008784, allocations: 169 kB / 24.16 MB, free: 332 kB / 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 0.77/0.77, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.3756/0.3756, allocations: 76.92 MB / 315.3 MB, free: 10.63 MB / 298.7 MB " [Timeout remaining time 180] 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 1.262e-06/1.262e-06, allocations: 0 / 366.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.875e-05, allocations: 6.312 kB / 366.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.009376/0.009394, allocations: 11.22 MB / 378.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.01669, allocations: 6.198 MB / 384.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009878/0.01768, allocations: 95.31 kB / 384.4 MB, free: 7.234 MB / 362.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.001208/0.01889, allocations: 0.5803 MB / 384.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.02064, allocations: 1.168 MB / 386.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.02337, allocations: 2.683 MB / 388.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003108/0.02648, allocations: 4.547 MB / 393.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.02761, allocations: 1.166 MB / 394.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.02871, allocations: 1.527 MB / 396 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/0.02962, allocations: 1.273 MB / 397.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000392/0.03001, allocations: 500 kB / 397.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.03067, allocations: 0.7068 MB / 398.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007217/0.03139, allocations: 0.9654 MB / 399.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.03212, allocations: 1.196 MB / 400.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.03437, allocations: 3.149 MB / 403.8 MB, free: 3.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.03437, allocations: 4 kB / 403.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03437, allocations: 0 / 403.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.03439, allocations: 0 / 403.8 MB, free: 3.633 MB / 378.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.004929/0.03932, allocations: 4.451 MB / 408.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.03935, allocations: 8.031 kB / 408.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.04218, allocations: 1.328 MB / 409.6 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.04385, allocations: 1.484 MB / 411.1 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.04414, allocations: 0.7259 MB / 411.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.04437, allocations: 252.3 kB / 412 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.04675, allocations: 2.513 MB / 414.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.04679, allocations: 4 kB / 414.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.04693, allocations: 115.9 kB / 414.7 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.04696, allocations: 56 kB / 414.7 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.04804, allocations: 0.7586 MB / 415.5 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007367/0.05541, allocations: 6.954 MB / 422.4 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.05756, allocations: 1.2 MB / 423.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.05812, allocations: 356.5 kB / 424 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.05822, allocations: 33.98 kB / 424 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.05931, allocations: 0.9929 MB / 425 MB, free: 13.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 3.747e-06/0.05932, allocations: 0 / 425 MB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.003889/0.06321, allocations: 1.7 MB / 426.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.06339, allocations: 0.539 MB / 427.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.06518, allocations: 1.759 MB / 429 MB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.06531, allocations: 77.62 kB / 429.1 MB, free: 9.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.0659, allocations: 0.9545 MB / 430 MB, free: 8.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.06636, allocations: 0.6855 MB / 430.7 MB, free: 7.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.06687, allocations: 379.5 kB / 431.1 MB, free: 7.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.06694, allocations: 305.1 kB / 431.4 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.06748, allocations: 281.9 kB / 431.7 MB, free: 6.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.06842, allocations: 1.189 MB / 432.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.07067, allocations: 1.572 MB / 434.4 MB, free: 3.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.07067, allocations: 4 kB / 434.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002866/0.07354, allocations: 1.528 MB / 436 MB, free: 1.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.07358, allocations: 41.7 kB / 436 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.0736, allocations: 15.98 kB / 436 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.07401, allocations: 301 kB / 436.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.07551, allocations: 471.3 kB / 436.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.07553, allocations: 31.86 kB / 436.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.07651, allocations: 255 kB / 437.1 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.07663, allocations: 63.98 kB / 437.1 MB, free: 0.7227 MB / 410.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.001018/0.07764, allocations: 0.5339 MB / 437.7 MB, free: 192 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009324/0.07858, allocations: 1.181 MB / 438.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001939/0.08051, allocations: 1.558 MB / 440.4 MB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/0.08052, allocations: 4 kB / 440.4 MB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.003048/0.08357, allocations: 1.532 MB / 441.9 MB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.0836, allocations: 45.69 kB / 442 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.08361, allocations: 15.98 kB / 442 MB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.08399, allocations: 300.7 kB / 442.3 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.08544, allocations: 463.3 kB / 442.7 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.08547, allocations: 23.94 kB / 442.8 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.08647, allocations: 246.9 kB / 443 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.08658, allocations: 63.98 kB / 443.1 MB, free: 10.27 MB / 426.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.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.VSourceRef.pll.integrator.local_reset,PV.VSourceRef.pll.limIntegrator.local_reset,PV.wecc_repc.limPID.I.local_reset,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,$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_regc.rateLimFirstOrderFreeze.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1.value,line.switchOffSignal2.value,PV.injector.switchOffSignal1.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal3.value) * 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.0004819/0.08706, allocations: 0.4888 MB / 443.6 MB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.0874, allocations: 239.8 kB / 443.8 MB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.09016, allocations: 1.484 MB / 445.3 MB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.09018, allocations: 20 kB / 445.3 MB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.09019, allocations: 4 kB / 445.3 MB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.0902, allocations: 11.95 kB / 445.3 MB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.09547, allocations: 3.156 MB / 448.5 MB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.09547, allocations: 0 / 448.5 MB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.09705, allocations: 391.5 kB / 448.8 MB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.09742, allocations: 288.5 kB / 449.1 MB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.09754, allocations: 59.95 kB / 449.2 MB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.016e-06/0.09754, allocations: 4 kB / 449.2 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.09755, allocations: 4 kB / 449.2 MB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.101, allocations: 2.104 MB / 451.3 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.1017, allocations: 305.7 kB / 451.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.102, allocations: 56 kB / 451.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.1028, allocations: 128 kB / 451.8 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.1031, allocations: 173.6 kB / 451.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.1032, allocations: 51.97 kB / 452 MB, free: 1.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009018/0.1041, allocations: 0.9202 MB / 452.9 MB, free: 296 kB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1041, allocations: 0 / 452.9 MB, free: 296 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001945/0.106, allocations: 1.149 MB / 454.1 MB, free: 15.14 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.0003684/0.1064, allocations: 210.7 kB / 454.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.1095, allocations: 1.992 MB / 456.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.097e-05/0.1096, allocations: 24.5 kB / 456.3 MB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.1106, allocations: 0.7089 MB / 457 MB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.1121, allocations: 0.5454 MB / 457.5 MB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.1183, allocations: 4.854 MB / 462.4 MB, free: 6.672 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.1189, allocations: 465.2 kB / 462.8 MB, free: 6.195 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008014/0.1197, allocations: 316.7 kB / 463.2 MB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009294/0.1206, allocations: 0.501 MB / 463.7 MB, free: 5.379 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1206, allocations: 0 / 463.7 MB, free: 5.379 MB / 442.7 MB Notification: Performance of Templates: time 0.1608/0.2814, allocations: 41.1 MB / 0.4929 GB, free: 74.95 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6898584458976984]