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.001398/0.001398, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.00155/0.00155, allocations: 215.1 kB / 23.03 MB, free: 4.969 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.458/1.458, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.6458/0.6458, allocations: 114.4 MB / 400.4 MB, free: 16.35 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: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",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.002143/0.002143, allocations: 74.97 kB / 0.5671 GB, free: 42.8 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1433, allocations: 78.63 MB / 0.6439 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01528/0.1586, allocations: 12.13 MB / 0.6558 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1705, allocations: 5.808 MB / 0.6614 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.1735, allocations: 83.44 kB / 0.6615 GB, free: 12 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.002108/0.1757, allocations: 0.5451 MB / 0.6621 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.1791, allocations: 0.7756 MB / 0.6628 GB, free: 10.67 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.006145/0.1853, allocations: 2.813 MB / 0.6656 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006442/0.1917, allocations: 4.154 MB / 0.6696 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.1937, allocations: 1.082 MB / 0.6707 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.1961, allocations: 1.533 MB / 0.6722 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.1981, allocations: 1.59 MB / 0.6737 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006236/0.1987, allocations: 468 kB / 0.6742 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1999, allocations: 0.7146 MB / 0.6749 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.2008, allocations: 0.876 MB / 0.6757 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.2025, allocations: 1.749 MB / 0.6774 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00689/0.2094, allocations: 5.457 MB / 0.6828 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2094, allocations: 0 / 0.6828 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2094, allocations: 7.938 kB / 0.6828 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001212/0.2095, allocations: 0 / 0.6828 GB, free: 6.125 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.01211/0.2216, allocations: 4.278 MB / 0.6869 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2217, allocations: 12.03 kB / 0.687 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000449/0.2221, allocations: 316.3 kB / 0.6873 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.2265, allocations: 0.8847 MB / 0.6881 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.2308, allocations: 2.106 MB / 0.6902 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006634/0.2314, allocations: 0.764 MB / 0.6909 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.2318, allocations: 231.9 kB / 0.6911 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/0.2376, allocations: 2.88 MB / 0.694 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.2376, allocations: 7.938 kB / 0.694 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.2378, allocations: 95.98 kB / 0.6941 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.2379, allocations: 56 kB / 0.6941 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.2434, allocations: 2.467 MB / 0.6965 GB, free: 7.566 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.01724/0.2607, allocations: 10.81 MB / 0.7071 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.2672, allocations: 2.662 MB / 0.7097 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.2695, allocations: 1.06 MB / 0.7107 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.2697, allocations: 49.28 kB / 0.7108 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002914/0.2726, allocations: 1.447 MB / 0.7122 GB, free: 7.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 3.777e-06/0.2726, allocations: 0 / 0.7122 GB, free: 7.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01026/0.2829, allocations: 3.842 MB / 0.7159 GB, free: 3.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003069/0.2832, allocations: 467 kB / 0.7164 GB, free: 2.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/0.2875, allocations: 2.518 MB / 0.7188 GB, free: 144 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/0.2879, allocations: 69.7 kB / 0.7189 GB, free: 68 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.2891, allocations: 1.204 MB / 0.7201 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008693/0.29, allocations: 0.6781 MB / 0.7207 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000986/0.291, allocations: 0.5689 MB / 0.7213 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2911, allocations: 309.1 kB / 0.7216 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/0.2939, allocations: 1.307 MB / 0.7229 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.2972, allocations: 1.816 MB / 0.7246 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02104/0.3183, allocations: 6.782 MB / 0.7313 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.3183, allocations: 7.938 kB / 0.7313 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.009333/0.3276, allocations: 3.951 MB / 0.7351 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3277, allocations: 57.67 kB / 0.7352 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.3277, allocations: 8.688 kB / 0.7352 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.3283, allocations: 324.7 kB / 0.7355 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.3315, allocations: 0.6631 MB / 0.7361 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.066e-05/0.3316, allocations: 27.92 kB / 0.7362 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.3344, allocations: 389.9 kB / 0.7365 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/0.3348, allocations: 108 kB / 0.7366 GB, free: 13.45 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.004629/0.3395, allocations: 1.843 MB / 0.7384 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003538/0.343, allocations: 1.769 MB / 0.7402 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0217/0.3647, allocations: 6.622 MB / 0.7466 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.917e-05/0.3647, allocations: 0 / 0.7466 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.01041/0.3751, allocations: 3.858 MB / 0.7504 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.3752, allocations: 61.27 kB / 0.7505 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.3752, allocations: 12.03 kB / 0.7505 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.3757, allocations: 328.6 kB / 0.7508 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.3789, allocations: 0.6358 MB / 0.7514 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-05/0.3789, allocations: 31.92 kB / 0.7514 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.3817, allocations: 326.8 kB / 0.7518 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/0.3821, allocations: 104 kB / 0.7519 GB, free: 13.48 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.001182/0.3833, allocations: 482 kB / 0.7523 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/0.3842, allocations: 306 kB / 0.7526 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008206/0.3924, allocations: 2.965 MB / 0.7555 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.3924, allocations: 20 kB / 0.7555 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.3925, allocations: 3.938 kB / 0.7555 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.3925, allocations: 7.969 kB / 0.7555 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.4079, allocations: 6.545 MB / 0.7619 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.4079, allocations: 4 kB / 0.7619 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/0.4106, allocations: 435.9 kB / 0.7623 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.4111, allocations: 312.7 kB / 0.7626 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/0.4113, allocations: 55.97 kB / 0.7627 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.648e-05/0.4114, allocations: 11.94 kB / 0.7627 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4114, allocations: 4 kB / 0.7627 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.4223, allocations: 4.704 MB / 0.7673 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/0.4242, allocations: 0.6146 MB / 0.7679 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007515/0.4249, allocations: 51.98 kB / 0.7679 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.4271, allocations: 179.8 kB / 0.7681 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/0.4275, allocations: 173.8 kB / 0.7683 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.4276, allocations: 63.97 kB / 0.7683 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003652/0.4313, allocations: 1.638 MB / 0.7699 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4313, allocations: 4 kB / 0.7699 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004299/0.4356, allocations: 1.154 MB / 0.7711 GB, free: 9.586 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.01144/0.447, allocations: 5.379 MB / 0.7763 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.3007/0.7477, allocations: 4.789 MB / 0.781 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7477, allocations: 2.625 kB / 0.781 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.7506, allocations: 1.408 MB / 0.7824 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.753, allocations: 433.3 kB / 0.7828 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04421/0.7972, allocations: 25.11 MB / 0.8073 GB, free: 120.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/0.7981, allocations: 1.677 MB / 0.809 GB, free: 119.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001555/0.7997, allocations: 381.5 kB / 0.8093 GB, free: 119.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.801, allocations: 1.169 MB / 0.8105 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.801, allocations: 0 / 0.8105 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.904, allocations: 64.22 MB / 0.8732 GB, free: 57.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/17.94, allocations: 11.19 kB / 0.8732 GB, free: 57.01 MB / 0.6075 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/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] "Error: Could not read variable PV.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.335922344998835]