Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.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.001676/0.001676, allocations: 119.5 kB / 17.82 MB, free: 5.273 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.001963/0.001963, allocations: 209.2 kB / 20.78 MB, free: 2.324 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.482/1.482, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6377/0.6377, allocations: 114.4 MB / 397.5 MB, free: 3.406 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") [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.002235/0.002235, allocations: 63.91 kB / 0.5624 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4806, allocations: 78.58 MB / 0.6391 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01126/0.4919, allocations: 12.09 MB / 0.6509 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009867/0.5018, allocations: 5.798 MB / 0.6566 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.5051, allocations: 80.91 kB / 0.6567 GB, free: 1.516 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.002374/0.5075, allocations: 0.5464 MB / 0.6572 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.5119, allocations: 0.7788 MB / 0.658 GB, free: 0.5625 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/Photovoltaics/WECC/PVCurrentSource.mo:160:3-160:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/Photovoltaics/WECC/PVCurrentSource.mo:162:3-162:45:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/Photovoltaics/WECC/PVCurrentSource.mo:163:3-163:45:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/Electrical/Photovoltaics/WECC/BaseClasses/BasePVCurrentSource.mo:59:3-59:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/Electrical/Photovoltaics/WECC/PVCurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvCurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006824/0.5187, allocations: 2.764 MB / 0.6607 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007726/0.5265, allocations: 4.127 MB / 0.6647 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.529, allocations: 1.083 MB / 0.6658 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.532, allocations: 1.521 MB / 0.6672 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.5349, allocations: 1.587 MB / 0.6688 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.5363, allocations: 463.7 kB / 0.6692 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.538, allocations: 0.7254 MB / 0.6699 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008981/0.5389, allocations: 0.8806 MB / 0.6708 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.5411, allocations: 1.75 MB / 0.6725 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007388/0.5485, allocations: 5.448 MB / 0.6778 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5485, allocations: 1.219 kB / 0.6778 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5485, allocations: 0 / 0.6778 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001479/0.5487, allocations: 3.938 kB / 0.6778 GB, free: 3.418 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.01345/0.5621, allocations: 4.356 MB / 0.6821 GB, free: 376 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5622, allocations: 8.625 kB / 0.6821 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.5676, allocations: 0.8889 MB / 0.683 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/0.5736, allocations: 2.179 MB / 0.6851 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009552/0.5745, allocations: 0.5653 MB / 0.6856 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.5759, allocations: 229.9 kB / 0.6859 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008282/0.5842, allocations: 2.881 MB / 0.6887 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/0.5842, allocations: 5.25 kB / 0.6887 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.5845, allocations: 94.53 kB / 0.6888 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.5846, allocations: 53.88 kB / 0.6888 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006626/0.5912, allocations: 2.472 MB / 0.6912 GB, free: 10.39 MB / 0.5137 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.01964/0.6108, allocations: 10.92 MB / 0.7019 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.6184, allocations: 2.737 MB / 0.7046 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.621, allocations: 1.063 MB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.6213, allocations: 122.3 kB / 0.7057 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003234/0.6245, allocations: 1.443 MB / 0.7071 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 3.626e-06/0.6245, allocations: 7.938 kB / 0.7071 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=186): time 0.01231/0.6368, allocations: 3.921 MB / 0.711 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/0.6371, allocations: 474.9 kB / 0.7114 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.642, allocations: 2.506 MB / 0.7139 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006068/0.6426, allocations: 69.7 kB / 0.7139 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.6441, allocations: 1.2 MB / 0.7151 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.6453, allocations: 0.6742 MB / 0.7158 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.6464, allocations: 0.5727 MB / 0.7163 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6465, allocations: 305.1 kB / 0.7166 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.6496, allocations: 1.311 MB / 0.7179 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003773/0.6534, allocations: 1.816 MB / 0.7197 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02312/0.6765, allocations: 6.785 MB / 0.7263 GB, free: 8.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.6766, allocations: 7.938 kB / 0.7263 GB, free: 8.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01058/0.6871, allocations: 3.956 MB / 0.7302 GB, free: 4.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.6872, allocations: 61.61 kB / 0.7302 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6873, allocations: 8 kB / 0.7302 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.6878, allocations: 313.1 kB / 0.7305 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.6912, allocations: 0.667 MB / 0.7312 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.492e-05/0.6913, allocations: 27.94 kB / 0.7312 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/0.6944, allocations: 385.9 kB / 0.7316 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/0.6947, allocations: 104 kB / 0.7317 GB, free: 2.84 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004561/0.6993, allocations: 1.837 MB / 0.7335 GB, free: 1.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003461/0.7028, allocations: 1.757 MB / 0.7352 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02205/0.7248, allocations: 6.641 MB / 0.7417 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.201e-05/0.7248, allocations: 4 kB / 0.7417 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.01004/0.7349, allocations: 3.854 MB / 0.7454 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.7349, allocations: 49.69 kB / 0.7455 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.735, allocations: 8 kB / 0.7455 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.7355, allocations: 325.4 kB / 0.7458 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.7388, allocations: 0.6475 MB / 0.7464 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.6e-05/0.7388, allocations: 23.94 kB / 0.7465 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.7419, allocations: 338.7 kB / 0.7468 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.7422, allocations: 104 kB / 0.7469 GB, free: 2.871 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 52 ($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.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running.value,PV.wecc_regc.QInj0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QInj0PuPos.y,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.Qinj0PuNeg.y,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.injector.running.value,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,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 (370): * Single equations (assignments): 368 * 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.001031/0.7433, allocations: 475.9 kB / 0.7473 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/0.7442, allocations: 310 kB / 0.7476 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/0.7521, allocations: 2.957 MB / 0.7505 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.7521, allocations: 19.98 kB / 0.7505 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.7521, allocations: 4 kB / 0.7506 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.7521, allocations: 15.95 kB / 0.7506 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.7665, allocations: 6.649 MB / 0.7571 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.7665, allocations: 7.938 kB / 0.7571 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/0.7693, allocations: 435.6 kB / 0.7575 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.7698, allocations: 304.7 kB / 0.7578 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.77, allocations: 55.97 kB / 0.7578 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/0.77, allocations: 15.94 kB / 0.7578 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.77, allocations: 4 kB / 0.7578 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/0.7809, allocations: 4.692 MB / 0.7624 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/0.7828, allocations: 0.6978 MB / 0.7631 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/0.7833, allocations: 55.98 kB / 0.7632 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.7852, allocations: 179.8 kB / 0.7633 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.7857, allocations: 161.7 kB / 0.7635 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.7858, allocations: 67.97 kB / 0.7636 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00302/0.7888, allocations: 1.642 MB / 0.7652 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7888, allocations: 0 / 0.7652 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003939/0.7928, allocations: 1.154 MB / 0.7663 GB, free: 14.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.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: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 4 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * 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 {(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.0006533/0.7934, allocations: 228.1 kB / 0.7665 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.8052, allocations: 4.958 MB / 0.7713 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.8052, allocations: 3.938 kB / 0.7713 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/0.8088, allocations: 1.502 MB / 0.7728 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.8118, allocations: 451.3 kB / 0.7732 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.8236, allocations: 5.486 MB / 0.7786 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.825, allocations: 1.678 MB / 0.7802 GB, free: 276 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.8263, allocations: 191.4 kB / 0.7804 GB, free: 84 kB / 0.5919 GB Notification: Performance of SimCode: time 1.894e-06/0.8263, allocations: 0 / 0.7804 GB, free: 84 kB / 0.5919 GB Notification: Performance of Templates: time 0.0796/0.9059, allocations: 52.77 MB / 0.832 GB, free: 11.3 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,PV.injector.PInjPu,PV.injector.QInjPu,PV.pll.omegaPLLPu Variables in the result:PV.injector.PInjPu,PV.injector.QInjPu,PV.pll.omegaPLLPu,time [Calling sys.exit(0), Time elapsed: 11.9066913590068]