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.0009855/0.0009855, allocations: 91.56 kB / 20.45 MB, free: 4.125 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.001607/0.001607, allocations: 169.3 kB / 23.82 MB, free: 0.7539 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 0.8143/0.8143, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.4065/0.4065, allocations: 76.92 MB / 315 MB, free: 10.71 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 1.282e-06/1.282e-06, allocations: 0 / 415.4 MB, free: 8.062 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.371e-05, allocations: 2.312 kB / 415.4 MB, free: 8.059 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.02093/0.02096, allocations: 11.65 MB / 427 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.0391, allocations: 5.98 MB / 433 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.04394, allocations: 95.31 kB / 433.1 MB, free: 6.258 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.001303/0.04524, allocations: 0.5803 MB / 433.7 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.05058, allocations: 1.168 MB / 434.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006619/0.0572, allocations: 2.683 MB / 437.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006678/0.06388, allocations: 4.551 MB / 442.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.06734, allocations: 1.112 MB / 443.2 MB, free: 12.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.0687, allocations: 1.534 MB / 444.7 MB, free: 10.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.06998, allocations: 1.269 MB / 446 MB, free: 9.254 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005932/0.07057, allocations: 500 kB / 446.5 MB, free: 8.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007151/0.07129, allocations: 0.7067 MB / 447.2 MB, free: 8.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.07178, allocations: 0.9615 MB / 448.1 MB, free: 7.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.07258, allocations: 1.2 MB / 449.3 MB, free: 5.891 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.07525, allocations: 3.153 MB / 452.5 MB, free: 2.727 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.07525, allocations: 0 / 452.5 MB, free: 2.727 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07525, allocations: 0 / 452.5 MB, free: 2.727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.07527, allocations: 0 / 452.5 MB, free: 2.727 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.005912/0.08119, allocations: 4.603 MB / 457.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.08122, allocations: 8.031 kB / 457.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.08419, allocations: 1.365 MB / 458.5 MB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.08649, allocations: 2.376 MB / 460.8 MB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.08681, allocations: 0.7259 MB / 461.6 MB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.08706, allocations: 260.2 kB / 461.8 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.09028, allocations: 2.751 MB / 464.6 MB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.09032, allocations: 7.938 kB / 464.6 MB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.09048, allocations: 104 kB / 464.7 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.09052, allocations: 60 kB / 464.7 MB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.09234, allocations: 1.066 MB / 465.8 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.176/0.2683, allocations: 10.25 MB / 476.1 MB, free: 72.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.2708, allocations: 1.359 MB / 477.4 MB, free: 72.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.2714, allocations: 487 kB / 477.9 MB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.2715, allocations: 41.81 kB / 477.9 MB, free: 72.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.2726, allocations: 1.065 MB / 479 MB, free: 72.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 3.887e-06/0.2726, allocations: 2.938 kB / 479 MB, free: 72.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.004463/0.2771, allocations: 2.402 MB / 481.4 MB, free: 71.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.2772, allocations: 0.5408 MB / 481.9 MB, free: 71.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.279, allocations: 1.946 MB / 483.9 MB, free: 71.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.2791, allocations: 69.7 kB / 484 MB, free: 71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008665/0.28, allocations: 1.446 MB / 485.4 MB, free: 70.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.2804, allocations: 0.679 MB / 486.1 MB, free: 70.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/0.2809, allocations: 395.9 kB / 486.5 MB, free: 70.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.281, allocations: 480.7 kB / 486.9 MB, free: 69.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.2817, allocations: 423.3 kB / 487.4 MB, free: 69.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2827, allocations: 1.5 MB / 488.9 MB, free: 68.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.2852, allocations: 1.96 MB / 490.8 MB, free: 67.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.2852, allocations: 3 kB / 490.8 MB, free: 67.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.003324/0.2885, allocations: 2.158 MB / 493 MB, free: 67.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.2885, allocations: 36.17 kB / 493 MB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2885, allocations: 11.41 kB / 493 MB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.2889, allocations: 327.4 kB / 493.3 MB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2901, allocations: 478.6 kB / 493.8 MB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.2902, allocations: 24.69 kB / 493.8 MB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.2911, allocations: 255.8 kB / 494.1 MB, free: 67.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2912, allocations: 85.89 kB / 494.2 MB, free: 67.3 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.00113/0.2923, allocations: 0.6956 MB / 494.9 MB, free: 67.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/0.2934, allocations: 1.486 MB / 496.3 MB, free: 65.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002289/0.2956, allocations: 1.944 MB / 498.3 MB, free: 65.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.448e-06/0.2957, allocations: 3.031 kB / 498.3 MB, free: 65.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.003435/0.2991, allocations: 2.136 MB / 0.4887 GB, free: 64.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.2991, allocations: 46.98 kB / 0.4887 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2991, allocations: 10.59 kB / 0.4888 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.2995, allocations: 330.2 kB / 0.4891 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3007, allocations: 466.1 kB / 0.4895 GB, free: 64.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.3008, allocations: 31.67 kB / 0.4895 GB, free: 64.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.3016, allocations: 240.8 kB / 0.4898 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3017, allocations: 83.83 kB / 0.4899 GB, free: 64.56 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.0004867/0.3022, allocations: 0.5754 MB / 0.4904 GB, free: 64.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.3026, allocations: 366.7 kB / 0.4908 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.3058, allocations: 1.944 MB / 0.4927 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.3058, allocations: 21.28 kB / 0.4927 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3058, allocations: 7.281 kB / 0.4927 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.3058, allocations: 6.562 kB / 0.4927 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.3117, allocations: 4.479 MB / 0.4971 GB, free: 61.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3117, allocations: 0 / 0.4971 GB, free: 61.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.313, allocations: 394.1 kB / 0.4974 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.3134, allocations: 315.4 kB / 0.4978 GB, free: 61.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.3135, allocations: 51.2 kB / 0.4978 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.3135, allocations: 7 kB / 0.4978 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3135, allocations: 0 / 0.4978 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.3177, allocations: 2.82 MB / 0.5006 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000692/0.3184, allocations: 0.6115 MB / 0.5012 GB, free: 59.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.3187, allocations: 61.16 kB / 0.5012 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.3194, allocations: 134.2 kB / 0.5013 GB, free: 59.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.3197, allocations: 173.3 kB / 0.5015 GB, free: 59.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.3198, allocations: 62.58 kB / 0.5016 GB, free: 59.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.321, allocations: 1.158 MB / 0.5027 GB, free: 59.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.321, allocations: 0 / 0.5027 GB, free: 59.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001838/0.3228, allocations: 1.152 MB / 0.5038 GB, free: 59.07 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.0003828/0.3232, allocations: 234.3 kB / 0.504 GB, free: 58.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.3267, allocations: 2.461 MB / 0.5065 GB, free: 58.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3267, allocations: 448 / 0.5065 GB, free: 58.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.3278, allocations: 0.8776 MB / 0.5073 GB, free: 58.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.3292, allocations: 0.5372 MB / 0.5078 GB, free: 57.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.3351, allocations: 4.91 MB / 0.5126 GB, free: 55.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3355, allocations: 460 kB / 0.5131 GB, free: 55.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008826/0.3363, allocations: 325.2 kB / 0.5134 GB, free: 55.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.3368, allocations: 173 kB / 0.5135 GB, free: 55.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3368, allocations: 4 kB / 0.5135 GB, free: 55.18 MB / 442.7 MB Notification: Performance of Templates: time 0.03948/0.3763, allocations: 39.95 MB / 0.5526 GB, free: 20.32 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.085121686104685]