Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 109.7 kB / 19.71 MB, free: 2.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 186.2 kB / 23 MB, free: 5.043 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.536/1.536, allocations: 207.6 MB / 233.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/package.mo): time 0.9198/0.9198, allocations: 108.3 MB / 394.4 MB, free: 19.6 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESScb.injector.PInjPuSn|BESScb.injector.QInjPuSn|BESScb.reecC.idCmdPu|BESScb.reecC.iqCmdPu|BESScb.regcBCS.UPu|BESScb.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESScb.injector.PInjPuSn|BESScb.injector.QInjPuSn|BESScb.reecC.idCmdPu|BESScb.reecC.iqCmdPu|BESScb.regcBCS.UPu|BESScb.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 72.97 kB / 0.5587 GB, free: 50.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 77.08 MB / 0.6339 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01778/0.1674, allocations: 12.65 MB / 0.6463 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.1827, allocations: 6.371 MB / 0.6525 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.1868, allocations: 91.31 kB / 0.6526 GB, free: 8.551 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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.00292/0.1898, allocations: 0.7443 MB / 0.6533 GB, free: 7.801 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004679/0.1944, allocations: 0.9235 MB / 0.6542 GB, free: 6.871 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/BESS/WECC/BESScbCurrentSource.mo:175:3-175:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/BESS/WECC/BESScbCurrentSource.mo:177:3-177:49:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/BESS/WECC/BESScbCurrentSource.mo:178:3-178:49:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Electrical/BESS/WECC/BaseClasses/BaseBESScbCurrentSource.mo:108:3-108:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-master/Electrical/BESS/WECC/BESS_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(bess_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.2021, allocations: 3.163 MB / 0.6573 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007997/0.2101, allocations: 4.481 MB / 0.6617 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.2131, allocations: 1.094 MB / 0.6628 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.2164, allocations: 1.654 MB / 0.6644 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.2197, allocations: 1.742 MB / 0.6661 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.2214, allocations: 480 kB / 0.6665 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.2234, allocations: 0.7615 MB / 0.6673 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.2246, allocations: 0.9733 MB / 0.6682 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.2271, allocations: 1.885 MB / 0.6701 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009709/0.2368, allocations: 5.849 MB / 0.6758 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2368, allocations: 0 / 0.6758 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2368, allocations: 0 / 0.6758 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000184/0.237, allocations: 0 / 0.6758 GB, free: 0.6875 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: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01521/0.2522, allocations: 4.653 MB / 0.6803 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.2523, allocations: 8.75 kB / 0.6803 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.2571, allocations: 0.9197 MB / 0.6812 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.2627, allocations: 2.373 MB / 0.6836 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/0.2633, allocations: 0.5783 MB / 0.6841 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004507/0.2637, allocations: 228 kB / 0.6843 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006916/0.2706, allocations: 3.016 MB / 0.6873 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.2707, allocations: 7.984 kB / 0.6873 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.271, allocations: 100 kB / 0.6874 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/0.271, allocations: 59.94 kB / 0.6874 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006335/0.2774, allocations: 2.553 MB / 0.6899 GB, free: 1.758 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.02102/0.2984, allocations: 11.49 MB / 0.7012 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/0.3045, allocations: 2.39 MB / 0.7035 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.3071, allocations: 1.103 MB / 0.7046 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.3074, allocations: 37.28 kB / 0.7046 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003202/0.3106, allocations: 1.569 MB / 0.7061 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 3.897e-06/0.3106, allocations: 0 / 0.7061 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.01095/0.3215, allocations: 4.042 MB / 0.7101 GB, free: 12.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003687/0.3219, allocations: 0.5352 MB / 0.7106 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/0.3276, allocations: 2.936 MB / 0.7135 GB, free: 9.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000587/0.3282, allocations: 65.7 kB / 0.7135 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.3298, allocations: 1.37 MB / 0.7149 GB, free: 7.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.3309, allocations: 0.6857 MB / 0.7155 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.332, allocations: 0.5569 MB / 0.7161 GB, free: 6.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3321, allocations: 305.1 kB / 0.7164 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.3353, allocations: 1.306 MB / 0.7177 GB, free: 4.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/0.3391, allocations: 1.872 MB / 0.7195 GB, free: 2.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02301/0.3621, allocations: 6.943 MB / 0.7263 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.3621, allocations: 4 kB / 0.7263 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01085/0.3729, allocations: 4.009 MB / 0.7302 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.3731, allocations: 83.38 kB / 0.7303 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.3731, allocations: 12.06 kB / 0.7303 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.3736, allocations: 324.7 kB / 0.7306 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.3768, allocations: 0.667 MB / 0.7312 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.497e-05/0.3768, allocations: 35.8 kB / 0.7313 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.3798, allocations: 390 kB / 0.7316 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.38, allocations: 108 kB / 0.7317 GB, free: 5.816 MB / 0.5606 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004593/0.3846, allocations: 1.883 MB / 0.7336 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003506/0.3881, allocations: 1.814 MB / 0.7354 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02203/0.4101, allocations: 6.803 MB / 0.742 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.905e-05/0.4102, allocations: 4 kB / 0.742 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=381) (initialization_lambda0): time 0.0106/0.4208, allocations: 3.903 MB / 0.7458 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.4209, allocations: 87.38 kB / 0.7459 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.4209, allocations: 8 kB / 0.7459 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.4215, allocations: 321 kB / 0.7462 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.4246, allocations: 0.6514 MB / 0.7468 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.653e-05/0.4247, allocations: 31.92 kB / 0.7469 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/0.4276, allocations: 338.5 kB / 0.7472 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.4278, allocations: 104 kB / 0.7473 GB, free: 5.402 MB / 0.5762 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.line.state,line.state,$PRE.BESScb.line.state,BESScb.line.state,$PRE.BESScb.injector.state,BESScb.injector.state,BESScb.injector.switchOffSignal3.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,$PRE.BESScb.injector.running.value,$PRE.BESScb.line.running.value,$PRE.line.running.value,line.running.value,BESScb.repcA.freeze,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.y,BESScb.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,BESScb.repcA.limPIDFreeze.I.resetLocal,BESScb.repcA.limPID.I.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.reecC.integrator.local_reset,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 2 * 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.001203/0.429, allocations: 487.1 kB / 0.7478 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/0.4298, allocations: 337.8 kB / 0.7481 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008082/0.4379, allocations: 3.117 MB / 0.7511 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.4379, allocations: 20 kB / 0.7511 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.4379, allocations: 11.97 kB / 0.7512 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.438, allocations: 7.969 kB / 0.7512 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.4529, allocations: 7.121 MB / 0.7581 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4529, allocations: 4 kB / 0.7581 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/0.4556, allocations: 459.4 kB / 0.7586 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.456, allocations: 304.7 kB / 0.7589 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/0.4562, allocations: 59.91 kB / 0.7589 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/0.4562, allocations: 11.94 kB / 0.7589 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4562, allocations: 4 kB / 0.7589 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.4672, allocations: 4.918 MB / 0.7637 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.469, allocations: 0.6575 MB / 0.7644 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007033/0.4697, allocations: 55.98 kB / 0.7644 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/0.4718, allocations: 195.8 kB / 0.7646 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/0.4722, allocations: 177.5 kB / 0.7648 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.4724, allocations: 71.92 kB / 0.7648 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003918/0.4763, allocations: 1.936 MB / 0.7667 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4763, allocations: 0 / 0.7667 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003705/0.48, allocations: 1.201 MB / 0.7679 GB, free: 72 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 20 (BESScb.reecC.firstOrder.y,BESScb.reecC.firstOrder1.y,BESScb.reecC.limPIDFreeze.I.y,BESScb.reecC.varLimPIDFreeze.I.y,BESScb.reecC.rateLimFirstOrderFreeze1.y,BESScb.reecC.slewRateLimiter.y,BESScb.reecC.rateLimFirstOrderFreeze.y,BESScb.reecC.integrator.y,BESScb.regcBCS.firstOrder.y,BESScb.regcBCS.rateLimFirstOrderFreeze.y,BESScb.regcBCS.rateLimFirstOrderFreeze1.y,BESScb.pll.integrator.y,BESScb.pll.limIntegrator.y,BESScb.repcA.firstOrder.y,BESScb.repcA.limPID.I.y,BESScb.repcA.firstOrder1.y,BESScb.repcA.firstOrder2.y,BESScb.repcA.firstOrder3.y,BESScb.repcA.limPIDFreeze.I.y,BESScb.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESScb.reecC.frtOn,BESScb.regcBCS.offDelay.y,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.tNext,BESScb.injector.running.value,BESScb.injector.state,BESScb.line.running.value,BESScb.line.state,BESScb.repcA.freeze,line.running.value,line.state) * Number of discrete states: 7 (line.running.value,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/0.4817, allocations: 491 kB / 0.7684 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01144/0.4931, allocations: 4.915 MB / 0.7732 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.4931, allocations: 0 / 0.7732 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/0.4967, allocations: 1.508 MB / 0.7746 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/0.5, allocations: 496.3 kB / 0.7751 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.5136, allocations: 5.948 MB / 0.7809 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.5154, allocations: 1.805 MB / 0.7827 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002458/0.5179, allocations: 415.5 kB / 0.7831 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/0.5186, allocations: 191.4 kB / 0.7833 GB, free: 296 kB / 0.6075 GB Notification: Performance of SimCode: time 1.553e-06/0.5186, allocations: 4 kB / 0.7833 GB, free: 292 kB / 0.6075 GB Notification: Performance of Templates: time 0.3959/0.9145, allocations: 40.12 MB / 0.8225 GB, free: 116.1 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource -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.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESScbCurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.05678128451109]