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.000901/0.000901, allocations: 77.88 kB / 21.46 MB, free: 3.047 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.0009383/0.0009383, allocations: 164.8 kB / 24.85 MB, free: 8.711 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.7979/0.7979, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.3732/0.3732, allocations: 76.91 MB / 316 MB, free: 10.57 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.322e-06/1.322e-06, allocations: 0 / 416.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.236e-05, allocations: 2.312 kB / 416.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01362/0.01364, allocations: 11.23 MB / 427.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.0241, allocations: 5.949 MB / 433.8 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.02543, allocations: 87.38 kB / 433.9 MB, free: 6.383 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.001099/0.02653, allocations: 0.5803 MB / 434.5 MB, free: 5.797 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.02842, allocations: 1.156 MB / 435.7 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.03119, allocations: 2.679 MB / 438.3 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.03409, allocations: 4.543 MB / 442.9 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.03522, allocations: 1.12 MB / 444 MB, free: 12.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.03644, allocations: 1.531 MB / 445.5 MB, free: 10.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/0.03736, allocations: 1.265 MB / 446.8 MB, free: 9.398 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.03775, allocations: 0.4922 MB / 447.3 MB, free: 8.906 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.03846, allocations: 0.7029 MB / 448 MB, free: 8.203 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.03898, allocations: 0.9615 MB / 449 MB, free: 7.238 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.03974, allocations: 1.2 MB / 450.2 MB, free: 6.035 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.0423, allocations: 3.149 MB / 453.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.04231, allocations: 0 / 453.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.04231, allocations: 0 / 453.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.04233, allocations: 0 / 453.3 MB, free: 2.875 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.005409/0.04774, allocations: 4.634 MB / 457.9 MB, free: 14.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.04777, allocations: 12.03 kB / 458 MB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.05083, allocations: 1.369 MB / 459.3 MB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.05299, allocations: 2.33 MB / 461.7 MB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.0533, allocations: 0.722 MB / 462.4 MB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.05356, allocations: 264.3 kB / 462.6 MB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.05606, allocations: 2.575 MB / 465.2 MB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.05609, allocations: 3.984 kB / 465.2 MB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.05625, allocations: 108 kB / 465.3 MB, free: 6.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.05628, allocations: 56 kB / 465.4 MB, free: 6.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.05748, allocations: 0.8653 MB / 466.2 MB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/0.2213, allocations: 9.909 MB / 476.1 MB, free: 73.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2232, allocations: 1.236 MB / 477.4 MB, free: 73.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.2237, allocations: 400.6 kB / 477.8 MB, free: 73.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.2238, allocations: 36.08 kB / 477.8 MB, free: 73.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009245/0.2247, allocations: 0.9999 MB / 478.8 MB, free: 73.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 3.997e-06/0.2247, allocations: 0.5938 kB / 478.8 MB, free: 73.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.003861/0.2286, allocations: 2.157 MB / 481 MB, free: 73.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.2287, allocations: 0.5359 MB / 481.5 MB, free: 72.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.23, allocations: 1.872 MB / 483.4 MB, free: 72.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.2301, allocations: 69.8 kB / 483.4 MB, free: 72.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/0.2308, allocations: 1.47 MB / 484.9 MB, free: 72.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.2312, allocations: 0.6883 MB / 485.6 MB, free: 71.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.2316, allocations: 408 kB / 486 MB, free: 71.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.2317, allocations: 480.1 kB / 486.5 MB, free: 71.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.2321, allocations: 330.4 kB / 486.8 MB, free: 71.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.2328, allocations: 1.412 MB / 488.2 MB, free: 69.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.2344, allocations: 1.726 MB / 489.9 MB, free: 69.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.2344, allocations: 3.578 kB / 489.9 MB, free: 69.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0027/0.2371, allocations: 1.955 MB / 491.9 MB, free: 68.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2372, allocations: 36.98 kB / 491.9 MB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2372, allocations: 11.12 kB / 491.9 MB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.2375, allocations: 323.2 kB / 492.2 MB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.2387, allocations: 478.6 kB / 492.7 MB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.2387, allocations: 26.62 kB / 492.7 MB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.2396, allocations: 249.1 kB / 493 MB, free: 68.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.2397, allocations: 69.14 kB / 493.1 MB, free: 68.58 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.0009074/0.2406, allocations: 0.6188 MB / 493.7 MB, free: 68.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007038/0.2413, allocations: 1.402 MB / 495.1 MB, free: 67.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001601/0.2429, allocations: 1.711 MB / 496.8 MB, free: 66.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.458e-06/0.2429, allocations: 4.812 kB / 496.8 MB, free: 66.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.002716/0.2456, allocations: 1.948 MB / 498.7 MB, free: 65.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2456, allocations: 40.17 kB / 498.8 MB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2456, allocations: 19.09 kB / 498.8 MB, free: 65.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.2459, allocations: 317 kB / 499.1 MB, free: 65.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2471, allocations: 467.3 kB / 499.6 MB, free: 65.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.2471, allocations: 24.34 kB / 499.6 MB, free: 65.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.248, allocations: 250.8 kB / 499.8 MB, free: 65.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.2481, allocations: 61.97 kB / 499.9 MB, free: 65.8 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.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.0004811/0.2486, allocations: 0.5784 MB / 0.4887 GB, free: 65.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.249, allocations: 364.4 kB / 0.4891 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.2519, allocations: 1.768 MB / 0.4908 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2519, allocations: 31.42 kB / 0.4908 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.2519, allocations: 2.438 kB / 0.4908 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.2519, allocations: 11.59 kB / 0.4909 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.2572, allocations: 3.976 MB / 0.4947 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2573, allocations: 1.062 kB / 0.4947 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.2586, allocations: 390 kB / 0.4951 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.259, allocations: 301 kB / 0.4954 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.2591, allocations: 53.33 kB / 0.4954 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.2591, allocations: 12.45 kB / 0.4955 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2591, allocations: 1.188 kB / 0.4955 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.263, allocations: 2.544 MB / 0.4979 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.2637, allocations: 0.6147 MB / 0.4985 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.264, allocations: 52.81 kB / 0.4986 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.2648, allocations: 135.5 kB / 0.4987 GB, free: 63.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.265, allocations: 176.3 kB / 0.4989 GB, free: 63.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/0.2651, allocations: 52.7 kB / 0.4989 GB, free: 63.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.2662, allocations: 1.057 MB / 0.5 GB, free: 63.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 0 / 0.5 GB, free: 63.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002238/0.2685, allocations: 1.147 MB / 0.5011 GB, free: 63.05 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.0003922/0.2688, allocations: 236.8 kB / 0.5013 GB, free: 62.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.2721, allocations: 2.19 MB / 0.5035 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2721, allocations: 2.062 kB / 0.5035 GB, free: 62.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009714/0.2731, allocations: 0.7965 MB / 0.5042 GB, free: 62.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.2744, allocations: 0.5357 MB / 0.5048 GB, free: 62.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.2805, allocations: 4.858 MB / 0.5095 GB, free: 59.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.2809, allocations: 462.5 kB / 0.51 GB, free: 59.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009791/0.2819, allocations: 315.9 kB / 0.5103 GB, free: 59.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.283, allocations: 0.5769 MB / 0.5108 GB, free: 59.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.283, allocations: 0 / 0.5108 GB, free: 59.35 MB / 442.7 MB Notification: Performance of Templates: time 0.04132/0.3244, allocations: 42.27 MB / 0.5521 GB, free: 23.43 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.027461268939078]