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.001386/0.001386, allocations: 105 kB / 20.46 MB, free: 1.488 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.00154/0.00154, allocations: 210.5 kB / 23.77 MB, free: 4.691 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.645/1.645, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.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.7162/0.7162, allocations: 114.3 MB / 401.2 MB, free: 16.32 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.003197/0.003197, allocations: 73.94 kB / 0.5684 GB, free: 42.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1882, allocations: 78.63 MB / 0.6452 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01605/0.2042, allocations: 12.12 MB / 0.657 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.2167, allocations: 5.82 MB / 0.6627 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.2204, allocations: 79.44 kB / 0.6628 GB, free: 11.46 MB / 0.4981 GB [/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.002324/0.2227, allocations: 0.5456 MB / 0.6633 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.2266, allocations: 0.7781 MB / 0.6641 GB, free: 10.13 MB / 0.4981 GB [/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.006743/0.2333, allocations: 2.801 MB / 0.6668 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007278/0.2406, allocations: 4.154 MB / 0.6708 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.2431, allocations: 1.093 MB / 0.6719 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.2457, allocations: 1.522 MB / 0.6734 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.2478, allocations: 1.594 MB / 0.675 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005996/0.2484, allocations: 464 kB / 0.6754 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.2497, allocations: 0.7146 MB / 0.6761 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.2505, allocations: 0.8838 MB / 0.677 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.2523, allocations: 1.745 MB / 0.6787 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.2598, allocations: 5.453 MB / 0.684 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2599, allocations: 0 / 0.684 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2599, allocations: 7.938 kB / 0.684 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001904/0.2601, allocations: 3.938 kB / 0.684 GB, free: 5.594 MB / 0.5137 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.01399/0.274, allocations: 4.278 MB / 0.6882 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.2741, allocations: 8.922 kB / 0.6882 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.2786, allocations: 0.8808 MB / 0.689 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.2831, allocations: 2.11 MB / 0.6911 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007221/0.2838, allocations: 0.7601 MB / 0.6918 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.2843, allocations: 236.1 kB / 0.6921 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.2904, allocations: 2.884 MB / 0.6949 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.2904, allocations: 3.938 kB / 0.6949 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.2907, allocations: 96 kB / 0.695 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/0.2907, allocations: 52 kB / 0.695 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005839/0.2966, allocations: 2.467 MB / 0.6974 GB, free: 7.363 MB / 0.5294 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.0198/0.3164, allocations: 10.81 MB / 0.708 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0069/0.3233, allocations: 2.658 MB / 0.7106 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.3257, allocations: 1.068 MB / 0.7116 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3259, allocations: 45.3 kB / 0.7117 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002961/0.3289, allocations: 1.44 MB / 0.7131 GB, free: 6.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.829e-06/0.3289, allocations: 4 kB / 0.7131 GB, free: 6.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01063/0.3395, allocations: 3.85 MB / 0.7169 GB, free: 3.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003405/0.3399, allocations: 467 kB / 0.7173 GB, free: 2.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/0.3448, allocations: 2.522 MB / 0.7198 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006076/0.3454, allocations: 69.7 kB / 0.7198 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.3469, allocations: 1.2 MB / 0.721 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.348, allocations: 0.6664 MB / 0.7217 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.349, allocations: 0.5728 MB / 0.7222 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3492, allocations: 313 kB / 0.7225 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/0.3521, allocations: 1.311 MB / 0.7238 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/0.3557, allocations: 1.812 MB / 0.7256 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0228/0.3785, allocations: 6.785 MB / 0.7322 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.3785, allocations: 8 kB / 0.7322 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01069/0.3892, allocations: 3.952 MB / 0.7361 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3893, allocations: 57.72 kB / 0.7361 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.3893, allocations: 8 kB / 0.7361 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/0.3899, allocations: 320.7 kB / 0.7364 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.3931, allocations: 0.6592 MB / 0.7371 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.117e-05/0.3932, allocations: 35.91 kB / 0.7371 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.3962, allocations: 393.9 kB / 0.7375 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.3964, allocations: 104 kB / 0.7376 GB, free: 13.24 MB / 0.5762 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.004807/0.4013, allocations: 1.836 MB / 0.7394 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003748/0.405, allocations: 1.769 MB / 0.7411 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02223/0.4272, allocations: 6.626 MB / 0.7476 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/0.4273, allocations: 4 kB / 0.7476 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.01038/0.4376, allocations: 3.858 MB / 0.7513 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4378, allocations: 61.42 kB / 0.7514 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4378, allocations: 8 kB / 0.7514 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.4383, allocations: 320.9 kB / 0.7517 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/0.4417, allocations: 0.6514 MB / 0.7523 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-05/0.4417, allocations: 27.94 kB / 0.7524 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.445, allocations: 330.7 kB / 0.7527 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.4453, allocations: 108 kB / 0.7528 GB, free: 13.26 MB / 0.5919 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.001427/0.4467, allocations: 469.3 kB / 0.7532 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.448, allocations: 294.1 kB / 0.7535 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008228/0.4562, allocations: 2.964 MB / 0.7564 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.4562, allocations: 20 kB / 0.7564 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.4562, allocations: 4 kB / 0.7564 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.4563, allocations: 15.89 kB / 0.7564 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.4701, allocations: 6.541 MB / 0.7628 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4702, allocations: 8.453 kB / 0.7628 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/0.4727, allocations: 435.4 kB / 0.7633 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.4731, allocations: 316.7 kB / 0.7636 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.4733, allocations: 47.98 kB / 0.7636 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.525e-05/0.4733, allocations: 15.94 kB / 0.7636 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4733, allocations: 4 kB / 0.7636 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.4835, allocations: 4.704 MB / 0.7682 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.4854, allocations: 0.6107 MB / 0.7688 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/0.4858, allocations: 63.92 kB / 0.7689 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.4874, allocations: 183.8 kB / 0.7691 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003751/0.4878, allocations: 161.8 kB / 0.7692 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.488, allocations: 63.97 kB / 0.7693 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002801/0.4908, allocations: 1.645 MB / 0.7709 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4908, allocations: 0 / 0.7709 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003381/0.4942, allocations: 1.158 MB / 0.772 GB, free: 9.371 MB / 0.6075 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.0005839/0.4947, allocations: 219.4 kB / 0.7722 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.5057, allocations: 4.819 MB / 0.7769 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5057, allocations: 0 / 0.7769 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.5089, allocations: 1.419 MB / 0.7783 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.5114, allocations: 441.6 kB / 0.7787 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4169/0.9284, allocations: 5.485 MB / 0.7841 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.9308, allocations: 1.679 MB / 0.7857 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.9323, allocations: 194.5 kB / 0.7859 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.333e-06/0.9323, allocations: 1.031 kB / 0.7859 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.07836/1.011, allocations: 52.76 MB / 0.8374 GB, free: 93.81 MB / 0.6075 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: 13.285430296004051]