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.001472/0.001472, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001834/0.001834, allocations: 177 kB / 24.08 MB, free: 432 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.9324/0.9324, allocations: 158.6 MB / 186 MB, free: 2.809 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.428/0.428, allocations: 76.92 MB / 315.3 MB, free: 10.66 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.573e-06/1.573e-06, allocations: 0 / 415.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.75e-05, allocations: 6.25 kB / 415.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01187/0.01189, allocations: 11.22 MB / 427.1 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.02095, allocations: 5.953 MB / 433.1 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.0222, allocations: 91.38 kB / 433.1 MB, free: 6.422 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.001153/0.02335, allocations: 0.5764 MB / 433.7 MB, free: 5.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.02582, allocations: 1.152 MB / 434.9 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.02939, allocations: 2.683 MB / 437.6 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003947/0.03334, allocations: 4.543 MB / 442.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.03477, allocations: 1.116 MB / 443.2 MB, free: 12.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.03624, allocations: 1.534 MB / 444.8 MB, free: 10.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.03735, allocations: 1.261 MB / 446 MB, free: 9.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.03784, allocations: 0.4922 MB / 446.5 MB, free: 8.953 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.03877, allocations: 0.7067 MB / 447.2 MB, free: 8.246 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.03935, allocations: 0.9615 MB / 448.2 MB, free: 7.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.04049, allocations: 1.204 MB / 449.4 MB, free: 6.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.0435, allocations: 3.145 MB / 452.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0435, allocations: 0 / 452.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0435, allocations: 0 / 452.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.04352, allocations: 0 / 452.5 MB, free: 2.918 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.007019/0.05054, allocations: 4.641 MB / 457.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.05058, allocations: 12.03 kB / 457.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.05457, allocations: 1.361 MB / 458.5 MB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.0576, allocations: 2.33 MB / 460.9 MB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/0.05806, allocations: 0.722 MB / 461.6 MB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.05843, allocations: 256.2 kB / 461.8 MB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.06221, allocations: 2.586 MB / 464.4 MB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.06225, allocations: 4 kB / 464.4 MB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.06247, allocations: 104 kB / 464.5 MB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.06252, allocations: 56 kB / 464.6 MB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.06434, allocations: 0.8614 MB / 465.4 MB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2056/0.2699, allocations: 9.909 MB / 475.4 MB, free: 74.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2717, allocations: 1.235 MB / 476.6 MB, free: 73.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.2722, allocations: 404.2 kB / 477 MB, free: 73.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.576e-05/0.2723, allocations: 44.17 kB / 477 MB, free: 73.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/0.2731, allocations: 0.995 MB / 478 MB, free: 73.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 4.288e-06/0.2731, allocations: 0.5 kB / 478 MB, free: 73.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.003695/0.2768, allocations: 2.155 MB / 480.2 MB, free: 73.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.2769, allocations: 0.5397 MB / 480.7 MB, free: 72.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.2784, allocations: 1.873 MB / 482.6 MB, free: 72.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2785, allocations: 74.27 kB / 482.7 MB, free: 72.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/0.2793, allocations: 1.467 MB / 484.1 MB, free: 72.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.2797, allocations: 0.6874 MB / 484.8 MB, free: 71.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.2802, allocations: 404.9 kB / 485.2 MB, free: 71.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.2802, allocations: 479.3 kB / 485.7 MB, free: 71.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.2807, allocations: 329.9 kB / 486 MB, free: 71.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.2815, allocations: 1.419 MB / 487.4 MB, free: 69.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.2831, allocations: 1.725 MB / 489.2 MB, free: 69.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.2831, allocations: 2.938 kB / 489.2 MB, free: 69.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002666/0.2858, allocations: 1.958 MB / 491.1 MB, free: 68.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.2858, allocations: 40.59 kB / 491.2 MB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.2858, allocations: 8.875 kB / 491.2 MB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.2862, allocations: 317 kB / 491.5 MB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2873, allocations: 478.9 kB / 491.9 MB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.2873, allocations: 32.69 kB / 492 MB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.2881, allocations: 247.8 kB / 492.2 MB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.2882, allocations: 64.53 kB / 492.3 MB, free: 68.66 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.0008827/0.2891, allocations: 0.6102 MB / 492.9 MB, free: 68.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006931/0.2898, allocations: 1.409 MB / 494.3 MB, free: 67.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/0.2913, allocations: 1.711 MB / 496 MB, free: 66.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.754e-06/0.2913, allocations: 2.625 kB / 496 MB, free: 66.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.00249/0.2938, allocations: 1.956 MB / 498 MB, free: 66.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2938, allocations: 34.39 kB / 498 MB, free: 66.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2938, allocations: 16.28 kB / 498 MB, free: 66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.2941, allocations: 314.3 kB / 498.3 MB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2952, allocations: 472.4 kB / 498.8 MB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.2952, allocations: 23.25 kB / 498.8 MB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.296, allocations: 248.6 kB / 499 MB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.2961, allocations: 66.3 kB / 499.1 MB, free: 65.87 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.0004807/0.2966, allocations: 0.5687 MB / 499.7 MB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.297, allocations: 364 kB / 0.4883 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.2999, allocations: 1.771 MB / 0.49 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.2999, allocations: 23.75 kB / 0.4901 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2999, allocations: 5.844 kB / 0.4901 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.2999, allocations: 11.33 kB / 0.4901 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/0.3054, allocations: 3.975 MB / 0.494 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3054, allocations: 1.531 kB / 0.494 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.3068, allocations: 394.4 kB / 0.4943 GB, free: 64.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003874/0.3071, allocations: 306.6 kB / 0.4946 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.3073, allocations: 52.44 kB / 0.4947 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3073, allocations: 10.59 kB / 0.4947 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3073, allocations: 1.094 kB / 0.4947 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.3112, allocations: 2.554 MB / 0.4972 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.3119, allocations: 0.61 MB / 0.4978 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.3122, allocations: 55.69 kB / 0.4978 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/0.3129, allocations: 130 kB / 0.498 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.3132, allocations: 176.1 kB / 0.4981 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/0.3133, allocations: 48.52 kB / 0.4982 GB, free: 63.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.3144, allocations: 1.055 MB / 0.4992 GB, free: 63.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3144, allocations: 0 / 0.4992 GB, free: 63.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002343/0.3167, allocations: 1.147 MB / 0.5003 GB, free: 63.09 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.0004184/0.3172, allocations: 243.1 kB / 0.5006 GB, free: 62.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.3205, allocations: 2.188 MB / 0.5027 GB, free: 62.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3205, allocations: 0.6875 kB / 0.5027 GB, free: 62.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.3215, allocations: 0.7941 MB / 0.5035 GB, free: 62.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3228, allocations: 0.5434 MB / 0.504 GB, free: 62.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.3289, allocations: 4.866 MB / 0.5088 GB, free: 59.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3294, allocations: 462.7 kB / 0.5092 GB, free: 59.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009731/0.3304, allocations: 313.4 kB / 0.5095 GB, free: 59.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.3315, allocations: 0.5759 MB / 0.5101 GB, free: 59.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3315, allocations: 4 kB / 0.5101 GB, free: 59.39 MB / 442.7 MB Notification: Performance of Templates: time 0.04543/0.3769, allocations: 41.22 MB / 0.5503 GB, free: 24.56 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.404708950780332]