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.001782/0.001782, allocations: 104.3 kB / 19.72 MB, free: 1.887 MB / 14.72 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.001431/0.001431, allocations: 212.4 kB / 23.01 MB, free: 5 MB / 14.72 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 1.572/1.572, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.6022/0.6022, allocations: 103.8 MB / 389.9 MB, free: 21.19 MB / 318.1 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 70.66 kB / 0.5517 GB, free: 57.89 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1675, allocations: 76 MB / 0.6259 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01152/0.179, allocations: 10.9 MB / 0.6365 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1929, allocations: 5.876 MB / 0.6423 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.1967, allocations: 95.31 kB / 0.6423 GB, free: 7.992 MB / 478.1 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.002811/0.1995, allocations: 0.5765 MB / 0.6429 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.205, allocations: 1.141 MB / 0.644 GB, free: 6.262 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006936/0.2119, allocations: 2.663 MB / 0.6466 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008687/0.2206, allocations: 4.54 MB / 0.6511 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.2241, allocations: 1.188 MB / 0.6522 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.2273, allocations: 1.658 MB / 0.6538 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.2303, allocations: 1.706 MB / 0.6555 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.2315, allocations: 0.4922 MB / 0.656 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.2333, allocations: 0.7186 MB / 0.6567 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.2344, allocations: 0.9461 MB / 0.6576 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.2363, allocations: 1.457 MB / 0.659 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008824/0.2451, allocations: 5.966 MB / 0.6649 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2451, allocations: 0 / 0.6649 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2451, allocations: 0 / 0.6649 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.2453, allocations: 0 / 0.6649 GB, free: 0.8125 MB / 494.1 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.01459/0.2599, allocations: 4.624 MB / 0.6694 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.26, allocations: 8.031 kB / 0.6694 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005374/0.2605, allocations: 345.5 kB / 0.6697 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.2666, allocations: 1.072 MB / 0.6708 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.2726, allocations: 2.339 MB / 0.673 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008743/0.2735, allocations: 0.7296 MB / 0.6738 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009503/0.2744, allocations: 247.9 kB / 0.674 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.2845, allocations: 3.628 MB / 0.6775 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.2846, allocations: 7.938 kB / 0.6775 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006927/0.2853, allocations: 104 kB / 0.6776 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/0.2854, allocations: 60 kB / 0.6777 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008145/0.2935, allocations: 2.623 MB / 0.6803 GB, free: 460 kB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.3195, allocations: 9.979 MB / 0.69 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/0.3281, allocations: 2.831 MB / 0.6928 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.3312, allocations: 1.16 MB / 0.6939 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.3315, allocations: 29.98 kB / 0.6939 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004396/0.3359, allocations: 1.763 MB / 0.6957 GB, free: 420 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 6.953e-06/0.3359, allocations: 4 kB / 0.6957 GB, free: 416 kB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01414/0.35, allocations: 4.452 MB / 0.7 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003743/0.3504, allocations: 0.5429 MB / 0.7005 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/0.3554, allocations: 2.566 MB / 0.703 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007579/0.3562, allocations: 73.7 kB / 0.7031 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.3578, allocations: 1.366 MB / 0.7044 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.3592, allocations: 0.6817 MB / 0.7051 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000901/0.3601, allocations: 387.7 kB / 0.7055 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3603, allocations: 305.1 kB / 0.7058 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.3631, allocations: 1.151 MB / 0.7069 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/0.3668, allocations: 2.103 MB / 0.7089 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02069/0.3875, allocations: 6.146 MB / 0.715 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/0.3875, allocations: 4 kB / 0.715 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01103/0.3986, allocations: 3.67 MB / 0.7185 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.3987, allocations: 41.7 kB / 0.7186 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.3987, allocations: 12 kB / 0.7186 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007648/0.3994, allocations: 473.1 kB / 0.719 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.4024, allocations: 0.5071 MB / 0.7195 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.159e-05/0.4024, allocations: 27.92 kB / 0.7196 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.4053, allocations: 338.2 kB / 0.7199 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.4055, allocations: 79.98 kB / 0.72 GB, free: 6.793 MB / 0.545 GB 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.00416/0.4097, allocations: 1.721 MB / 0.7216 GB, free: 5.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003332/0.413, allocations: 2.041 MB / 0.7236 GB, free: 2.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01967/0.4327, allocations: 6.005 MB / 0.7295 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.955e-05/0.4327, allocations: 7.938 kB / 0.7295 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009819/0.4426, allocations: 3.576 MB / 0.733 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.4426, allocations: 45.62 kB / 0.733 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.4426, allocations: 12 kB / 0.7331 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.4433, allocations: 468.7 kB / 0.7335 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.446, allocations: 499.3 kB / 0.734 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.664e-05/0.4461, allocations: 27.92 kB / 0.734 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.4488, allocations: 290.8 kB / 0.7343 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.449, allocations: 79.98 kB / 0.7344 GB, free: 7.523 MB / 0.5606 GB 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.0012/0.4502, allocations: 498 kB / 0.7348 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/0.4511, allocations: 326 kB / 0.7351 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/0.46, allocations: 3.377 MB / 0.7384 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.46, allocations: 20 kB / 0.7385 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.4601, allocations: 0 / 0.7385 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/0.4601, allocations: 11.97 kB / 0.7385 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.475, allocations: 6.392 MB / 0.7447 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.475, allocations: 0 / 0.7447 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/0.4778, allocations: 439.4 kB / 0.7451 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007053/0.4785, allocations: 452.6 kB / 0.7456 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.4787, allocations: 55.97 kB / 0.7456 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.4787, allocations: 8 kB / 0.7456 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4787, allocations: 0 / 0.7456 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/0.4905, allocations: 5.175 MB / 0.7507 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.4925, allocations: 0.6729 MB / 0.7513 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006587/0.4932, allocations: 59.92 kB / 0.7514 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.4951, allocations: 183.8 kB / 0.7516 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/0.4956, allocations: 173.7 kB / 0.7517 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.4958, allocations: 63.97 kB / 0.7518 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002941/0.4987, allocations: 1.708 MB / 0.7535 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4987, allocations: 0 / 0.7535 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00362/0.5023, allocations: 1.088 MB / 0.7545 GB, free: 2.711 MB / 0.5762 GB 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.01357/0.5159, allocations: 5.862 MB / 0.7603 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0121/0.528, allocations: 4.415 MB / 0.7646 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.528, allocations: 4 kB / 0.7646 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003574/0.5316, allocations: 1.49 MB / 0.766 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.5347, allocations: 0.5263 MB / 0.7665 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4266/0.9612, allocations: 25.98 MB / 0.7919 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.9634, allocations: 1.215 MB / 0.7931 GB, free: 147.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002314/0.9657, allocations: 354.8 kB / 0.7934 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/0.9678, allocations: 1.255 MB / 0.7947 GB, free: 146.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.343e-06/0.9678, allocations: 0 / 0.7947 GB, free: 146.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/1.096, allocations: 71.46 MB / 0.8644 GB, free: 84.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.68, allocations: 11.94 kB / 0.8645 GB, free: 84.7 MB / 0.6075 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.171626716008177] Failed to read output from testmodel.py, exit status != 0: 17.10114357699058 16.846434673 16.59811252 Calling exit ...