Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.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.001286/0.001286, allocations: 105.5 kB / 17.14 MB, free: 6.023 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.001415/0.001415, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.417/1.417, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.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.5444/0.5444, allocations: 104 MB / 386.3 MB, free: 13.93 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.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB",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.002128/0.002128, allocations: 67.91 kB / 0.5459 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1479, allocations: 75.96 MB / 0.6201 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB): time 0.01429/0.1622, allocations: 11.44 MB / 0.6312 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3285/0.4907, allocations: 5.701 MB / 0.6368 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.494, allocations: 87 kB / 0.6369 GB, free: 13.32 MB / 494.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). Notification: Performance of NFTyping.typeComponents: time 0.001904/0.4959, allocations: 0.5117 MB / 0.6374 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.4995, allocations: 0.7403 MB / 0.6381 GB, free: 13.31 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:37:3-37:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:39:3-39:45:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/Photovoltaics/WECC/PVCurrentSourceB.mo:40:3-40:45:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Photovoltaics/WECC/BaseClasses/BasePVCurrentSource.mo:61:3-61:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.5051, allocations: 2.546 MB / 0.6406 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.5117, allocations: 3.99 MB / 0.6445 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.5141, allocations: 1.055 MB / 0.6455 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.5167, allocations: 1.454 MB / 0.6469 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.5191, allocations: 1.492 MB / 0.6484 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.5206, allocations: 441.5 kB / 0.6488 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.5225, allocations: 0.615 MB / 0.6494 GB, free: 9.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009285/0.5234, allocations: 0.8391 MB / 0.6502 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.5257, allocations: 1.671 MB / 0.6519 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.5341, allocations: 5.198 MB / 0.657 GB, free: 5.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5341, allocations: 0 / 0.657 GB, free: 5.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5341, allocations: 0 / 0.657 GB, free: 5.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.5343, allocations: 0 / 0.657 GB, free: 5.777 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01321/0.5475, allocations: 4.077 MB / 0.6609 GB, free: 2.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5476, allocations: 9.688 kB / 0.6609 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005457/0.5481, allocations: 304 kB / 0.6612 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.5529, allocations: 0.8503 MB / 0.6621 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.5566, allocations: 2.152 MB / 0.6642 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.557, allocations: 0.5195 MB / 0.6647 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/0.5574, allocations: 219.8 kB / 0.6649 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.5634, allocations: 2.758 MB / 0.6676 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.5635, allocations: 10.69 kB / 0.6676 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.5637, allocations: 89.89 kB / 0.6677 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.5637, allocations: 50.69 kB / 0.6677 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/0.5694, allocations: 2.295 MB / 0.67 GB, free: 13.04 MB / 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.01945/0.5888, allocations: 10.7 MB / 0.6804 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007132/0.5959, allocations: 2.542 MB / 0.6829 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.5985, allocations: 0.9834 MB / 0.6838 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.5986, allocations: 23.44 kB / 0.6839 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003164/0.6018, allocations: 1.447 MB / 0.6853 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=170): time 5.591e-06/0.6018, allocations: 5.375 kB / 0.6853 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=170): time 0.01126/0.613, allocations: 3.724 MB / 0.6889 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/0.6133, allocations: 0.5047 MB / 0.6894 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.6187, allocations: 2.331 MB / 0.6917 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006082/0.6193, allocations: 60.7 kB / 0.6918 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.6208, allocations: 1.234 MB / 0.693 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.622, allocations: 0.5952 MB / 0.6935 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.6233, allocations: 335.5 kB / 0.6939 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6234, allocations: 301.1 kB / 0.6941 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.626, allocations: 0.9691 MB / 0.6951 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.6291, allocations: 1.438 MB / 0.6965 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/0.6481, allocations: 5.317 MB / 0.7017 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.6481, allocations: 4 kB / 0.7017 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009547/0.6576, allocations: 3.039 MB / 0.7047 GB, free: 144 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.6577, allocations: 42.47 kB / 0.7047 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.6577, allocations: 8 kB / 0.7047 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.6583, allocations: 322.2 kB / 0.705 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.661, allocations: 459.3 kB / 0.7055 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.349e-05/0.661, allocations: 23.92 kB / 0.7055 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.6639, allocations: 318.3 kB / 0.7058 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.6642, allocations: 75.92 kB / 0.7059 GB, free: 14.91 MB / 0.5294 GB Warning: Assuming fixed start value for the following 23 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.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_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 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.injector.running.value:DISCRETE(flow=false start = PV.injector.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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004112/0.6684, allocations: 1.455 MB / 0.7073 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002946/0.6713, allocations: 1.383 MB / 0.7086 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01769/0.689, allocations: 5.169 MB / 0.7137 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.689, allocations: 0 / 0.7137 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.009023/0.698, allocations: 2.935 MB / 0.7165 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.6981, allocations: 45.78 kB / 0.7166 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.6981, allocations: 12 kB / 0.7166 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.6986, allocations: 308.7 kB / 0.7169 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.7012, allocations: 447.4 kB / 0.7173 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.102e-05/0.7013, allocations: 27.92 kB / 0.7173 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.7042, allocations: 259 kB / 0.7176 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/0.7046, allocations: 68 kB / 0.7177 GB, free: 2.496 MB / 0.5294 GB Warning: Assuming fixed start value for the following 23 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.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_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 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.injector.running.value:DISCRETE(flow=false start = PV.injector.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.PV.injector.state,PV.injector.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.injector.running.value,PV.wecc_repc.freeze,PV.injector.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.wecc_reec.frtOn,PV.line.running.value,line.running.value,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 223 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009412/0.7056, allocations: 469.1 kB / 0.7181 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.7066, allocations: 290.2 kB / 0.7184 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.7143, allocations: 2.829 MB / 0.7211 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.7143, allocations: 20 kB / 0.7212 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7143, allocations: 0 / 0.7212 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.7144, allocations: 15.89 kB / 0.7212 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.7286, allocations: 6.078 MB / 0.7271 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.7286, allocations: 0 / 0.7271 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/0.7313, allocations: 395.5 kB / 0.7275 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.7318, allocations: 308.7 kB / 0.7278 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/0.732, allocations: 43.98 kB / 0.7278 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.732, allocations: 8 kB / 0.7278 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.732, allocations: 7.984 kB / 0.7278 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.7428, allocations: 4.281 MB / 0.732 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.7448, allocations: 0.6549 MB / 0.7327 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007986/0.7456, allocations: 52.12 kB / 0.7327 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.7476, allocations: 171.8 kB / 0.7329 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.748, allocations: 132.4 kB / 0.733 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.7481, allocations: 55.97 kB / 0.7331 GB, free: 2.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003107/0.7512, allocations: 1.569 MB / 0.7346 GB, free: 1.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7512, allocations: 7.938 kB / 0.7346 GB, free: 1.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003401/0.7546, allocations: 0.9277 MB / 0.7355 GB, free: 128 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (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,PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.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]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_reec.frtOn,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 7 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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 {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/0.7654, allocations: 4.945 MB / 0.7403 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009074/0.7744, allocations: 3.857 MB / 0.7441 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7744, allocations: 0 / 0.7441 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/0.7774, allocations: 1.324 MB / 0.7454 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.7804, allocations: 461.2 kB / 0.7458 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0539/0.8343, allocations: 22.68 MB / 0.768 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.8357, allocations: 1.631 MB / 0.7696 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001866/0.8375, allocations: 320.2 kB / 0.7699 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/0.8395, allocations: 1.105 MB / 0.771 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.8395, allocations: 4 kB / 0.771 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/0.9601, allocations: 58.98 MB / 0.8285 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.61, allocations: 2.812 kB / 0.8286 GB, free: 0.5234 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.338243498001248] Failed to read output from testmodel.py, exit status != 0: 15.725833675009198 15.747689404 15.209019287 Calling exit ...