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.001421/0.001421, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.0016/0.0016, allocations: 177.3 kB / 24.28 MB, free: 284 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.8248/0.8248, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.4208/0.4208, allocations: 76.92 MB / 315.3 MB, free: 10.72 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.836e-06/2.836e-06, allocations: 4 kB / 415.2 MB, free: 8.559 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.95e-05, allocations: 2.312 kB / 415.2 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01094/0.01097, allocations: 11.59 MB / 426.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008594/0.01956, allocations: 5.976 MB / 432.8 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.02104, allocations: 91.38 kB / 432.9 MB, free: 6.82 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.001238/0.02228, allocations: 0.5724 MB / 433.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.02441, allocations: 1.168 MB / 434.6 MB, free: 5.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.02822, allocations: 2.683 MB / 437.3 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.03188, allocations: 4.543 MB / 441.8 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.03339, allocations: 1.124 MB / 442.9 MB, free: 12.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.03487, allocations: 1.527 MB / 444.5 MB, free: 11.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.03585, allocations: 1.265 MB / 445.7 MB, free: 9.828 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.03627, allocations: 0.4922 MB / 446.2 MB, free: 9.336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007808/0.03705, allocations: 0.7067 MB / 446.9 MB, free: 8.629 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.03757, allocations: 0.9576 MB / 447.9 MB, free: 7.668 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008947/0.03847, allocations: 1.207 MB / 449.1 MB, free: 6.457 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.04144, allocations: 3.145 MB / 452.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.04144, allocations: 0 / 452.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04144, allocations: 0 / 452.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.04147, allocations: 0 / 452.2 MB, free: 3.301 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.005806/0.04727, allocations: 4.611 MB / 456.9 MB, free: 14.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.04731, allocations: 12.03 kB / 456.9 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.05096, allocations: 1.361 MB / 458.2 MB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.05356, allocations: 2.38 MB / 460.6 MB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.05393, allocations: 0.7181 MB / 461.3 MB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.05422, allocations: 260.3 kB / 461.6 MB, free: 9.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.05755, allocations: 2.755 MB / 464.3 MB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.05759, allocations: 0 / 464.3 MB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.05777, allocations: 104 kB / 464.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.0578, allocations: 56 kB / 464.5 MB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.05979, allocations: 1.07 MB / 465.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1829/0.2427, allocations: 10.26 MB / 475.8 MB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.2452, allocations: 1.36 MB / 477.2 MB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.2459, allocations: 483.9 kB / 477.7 MB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/0.246, allocations: 39.52 kB / 477.7 MB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.2472, allocations: 1.073 MB / 478.8 MB, free: 91.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 4.078e-06/0.2472, allocations: 1.594 kB / 478.8 MB, free: 91.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.004787/0.2519, allocations: 2.403 MB / 481.2 MB, free: 91.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.2521, allocations: 0.5401 MB / 481.7 MB, free: 90.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.2539, allocations: 1.945 MB / 483.7 MB, free: 90.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.254, allocations: 75.34 kB / 483.7 MB, free: 90.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.2548, allocations: 1.442 MB / 485.2 MB, free: 89.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.2552, allocations: 0.6779 MB / 485.9 MB, free: 89.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.2556, allocations: 392.1 kB / 486.2 MB, free: 88.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.2557, allocations: 481 kB / 486.7 MB, free: 88.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/0.2564, allocations: 426 kB / 487.1 MB, free: 88.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.2575, allocations: 1.498 MB / 488.6 MB, free: 86.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.26, allocations: 1.96 MB / 490.6 MB, free: 85.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.26, allocations: 5.062 kB / 490.6 MB, free: 85.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.003574/0.2636, allocations: 2.151 MB / 492.7 MB, free: 85.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.2636, allocations: 43.84 kB / 492.8 MB, free: 85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.2637, allocations: 10.28 kB / 492.8 MB, free: 85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.2641, allocations: 323.6 kB / 493.1 MB, free: 84.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.2654, allocations: 477.6 kB / 493.6 MB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.2654, allocations: 32.16 kB / 493.6 MB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/0.2663, allocations: 254.6 kB / 493.9 MB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.2665, allocations: 82.06 kB / 493.9 MB, free: 84.79 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.001306/0.2678, allocations: 0.6958 MB / 494.6 MB, free: 84.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.2688, allocations: 1.486 MB / 496.1 MB, free: 83.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002456/0.2713, allocations: 1.946 MB / 498.1 MB, free: 81.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.275e-05/0.2713, allocations: 2.719 kB / 498.1 MB, free: 81.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.003578/0.2748, allocations: 2.143 MB / 0.4885 GB, free: 81.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.2749, allocations: 41.59 kB / 0.4885 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2749, allocations: 14.19 kB / 0.4885 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.2753, allocations: 326.5 kB / 0.4888 GB, free: 81.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.2765, allocations: 472 kB / 0.4893 GB, free: 81.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/0.2766, allocations: 24.12 kB / 0.4893 GB, free: 81.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.2775, allocations: 253 kB / 0.4896 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2776, allocations: 80.08 kB / 0.4896 GB, free: 80.93 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.0006103/0.2782, allocations: 0.5667 MB / 0.4902 GB, free: 80.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/0.2786, allocations: 369.4 kB / 0.4905 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.2822, allocations: 1.941 MB / 0.4924 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.2822, allocations: 23.06 kB / 0.4925 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.2823, allocations: 7.688 kB / 0.4925 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.2823, allocations: 10.95 kB / 0.4925 GB, free: 79.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.2887, allocations: 4.468 MB / 0.4968 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2887, allocations: 1.406 kB / 0.4968 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.2901, allocations: 390.3 kB / 0.4972 GB, free: 77.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.2905, allocations: 305.3 kB / 0.4975 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.2906, allocations: 57.48 kB / 0.4976 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.2906, allocations: 18.03 kB / 0.4976 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2906, allocations: 5.406 kB / 0.4976 GB, free: 77.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/0.2951, allocations: 2.813 MB / 0.5003 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.2959, allocations: 0.6124 MB / 0.5009 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.2962, allocations: 53.14 kB / 0.501 GB, free: 76.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.2969, allocations: 132.7 kB / 0.5011 GB, free: 76.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.2973, allocations: 178.7 kB / 0.5013 GB, free: 75.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.2974, allocations: 63.67 kB / 0.5013 GB, free: 75.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.2987, allocations: 1.161 MB / 0.5025 GB, free: 75.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2987, allocations: 0 / 0.5025 GB, free: 75.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002329/0.301, allocations: 1.152 MB / 0.5036 GB, free: 75.35 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.0005586/0.3016, allocations: 235.4 kB / 0.5038 GB, free: 75.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.3056, allocations: 2.458 MB / 0.5062 GB, free: 74.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3056, allocations: 3.375 kB / 0.5062 GB, free: 74.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.3068, allocations: 0.8706 MB / 0.5071 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.3083, allocations: 0.5444 MB / 0.5076 GB, free: 73.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3146, allocations: 4.901 MB / 0.5124 GB, free: 70.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.315, allocations: 464.4 kB / 0.5128 GB, free: 70.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009701/0.316, allocations: 327.1 kB / 0.5131 GB, free: 69.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.3164, allocations: 169.7 kB / 0.5133 GB, free: 69.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3164, allocations: 0 / 0.5133 GB, free: 69.64 MB / 442.7 MB Notification: Performance of Templates: time 0.04107/0.3575, allocations: 38.3 MB / 0.5507 GB, free: 33.27 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: 4.153096160152927]