Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer.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.001287/0.001287, allocations: 96.41 kB / 20.5 MB, free: 1.348 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.001447/0.001447, allocations: 224.9 kB / 23.81 MB, free: 4.508 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.453/1.453, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.5847/0.5847, allocations: 103.8 MB / 390.7 MB, free: 21.16 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,fileNamePrefix="Dynawo_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,fileNamePrefix="Dynawo_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",fmuType="cs",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.002229/0.002229, allocations: 67.91 kB / 0.5486 GB, free: 3.426 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3756, allocations: 76 MB / 0.6228 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer): time 0.00411/0.3797, allocations: 3.98 MB / 0.6267 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.3836, allocations: 2.639 MB / 0.6293 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.3838, allocations: 19.94 kB / 0.6293 GB, free: 3.227 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Loads/BaseClasses/BaseLoad.mo:32:3-32:125:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SetPoint.mo:17:3-17:75:writable] Warning: Connector setPoint is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/BaseClasses/BaseTransformer.mo:32:3-32:123:writable] Warning: Connector P1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/BaseClasses/BaseTransformer.mo:33:3-33:125:writable] Warning: Connector Q1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/BaseClasses/BaseTransformer.mo:34:3-34:106:writable] Warning: Connector U1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/BaseClasses/BaseTransformer.mo:35:3-35:106:writable] Warning: Connector U2Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/TransformerPhaseTapChanger.mo:43:3-43:102:writable] Warning: Connector tap is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:26:3-26:139:writable] Warning: Connector valueToMonitor is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:27:3-27:64:writable] Warning: Connector tap is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:28:3-28:106:writable] Warning: Connector AutomatonExists is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/PhaseShifterP.mo:25:3-25:81:writable] Warning: Connector PMonitored is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:64:3-64:93:writable] Warning: Connector PPuLine01 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.0005672/0.3844, allocations: 186.1 kB / 0.6295 GB, free: 3.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.3849, allocations: 210.6 kB / 0.6297 GB, free: 2.84 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:71:3-73:11:writable] Warning: In relation shiftController01.tap.value <> pre(shiftController01.tap.value), <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Transformers/TransformerPhaseTapChanger.mo:49:3-56:11:writable] Warning: In relation tfo01.tap.value <> pre(tfo01.tap.value), <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.3866, allocations: 0.9458 MB / 0.6306 GB, free: 1.898 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/BaseClasses/TapChangerPhaseShifterParams.mo:34:3-34:96:writable] Error: Parameter shiftController01.regulating0 has neither value nor start value, and is fixed during initialization (fixed=true). Notification: Performance of NFFlatten.flatten: time 0.0007441/0.3873, allocations: 0.9283 MB / 0.6315 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.3875, allocations: 133.1 kB / 0.6316 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3878, allocations: 410.6 kB / 0.632 GB, free: 448 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.3881, allocations: 434.2 kB / 0.6324 GB, free: 12 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.3883, allocations: 83.98 kB / 0.6325 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.3888, allocations: 267.8 kB / 0.6328 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.389, allocations: 211.4 kB / 0.633 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.3893, allocations: 330.5 kB / 0.6333 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3906, allocations: 1.044 MB / 0.6343 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3907, allocations: 0 / 0.6343 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3907, allocations: 0 / 0.6343 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3907, allocations: 0 / 0.6343 GB, free: 14.09 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005249/0.3959, allocations: 1.637 MB / 0.6359 GB, free: 12.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.396, allocations: 8.031 kB / 0.6359 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.98e-05/0.396, allocations: 17.19 kB / 0.6359 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.3962, allocations: 106.7 kB / 0.636 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.399, allocations: 448 kB / 0.6365 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.4002, allocations: 0.5517 MB / 0.637 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.4005, allocations: 382 kB / 0.6374 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.4007, allocations: 72.09 kB / 0.6374 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.4026, allocations: 1.07 MB / 0.6385 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4026, allocations: 0 / 0.6385 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.4028, allocations: 31.97 kB / 0.6385 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4028, allocations: 12 kB / 0.6385 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.4042, allocations: 0.7534 MB / 0.6393 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.4094, allocations: 2.723 MB / 0.6419 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4106, allocations: 0.5984 MB / 0.6425 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008086/0.4114, allocations: 446.6 kB / 0.6429 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.4115, allocations: 16.64 kB / 0.643 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.4132, allocations: 1.026 MB / 0.644 GB, free: 3.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.4132, allocations: 7.938 kB / 0.644 GB, free: 3.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.004983/0.4182, allocations: 2.143 MB / 0.6461 GB, free: 1.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.4183, allocations: 76.39 kB / 0.6461 GB, free: 1.715 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006575/0.4189, allocations: 0.5066 MB / 0.6466 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.419, allocations: 61.69 kB / 0.6467 GB, free: 1.129 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4193, allocations: 289.2 kB / 0.647 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.4195, allocations: 273.9 kB / 0.6472 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.4199, allocations: 182.5 kB / 0.6474 GB, free: 396 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4201, allocations: 386.7 kB / 0.6478 GB, free: 0 / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.4207, allocations: 398.2 kB / 0.6481 GB, free: 15.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.4216, allocations: 0.5966 MB / 0.6487 GB, free: 14.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.4261, allocations: 1.949 MB / 0.6506 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4261, allocations: 4 kB / 0.6506 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004048/0.4302, allocations: 1.594 MB / 0.6522 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4302, allocations: 8 kB / 0.6522 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4302, allocations: 4 kB / 0.6522 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/0.4312, allocations: 484.6 kB / 0.6527 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.4317, allocations: 111.7 kB / 0.6528 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/0.438, allocations: 3.7 MB / 0.6564 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.4388, allocations: 95.58 kB / 0.6565 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.4389, allocations: 40 kB / 0.6565 GB, free: 6.762 MB / 494.1 MB Warning: Assuming fixed start value for the following 19 variables: load01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load01.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = tfo01.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line01.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line02.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line02.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.tap.value:DISCRETE(flow=false start = /*Real*/(tfo01.Tap0) fixed = true ) type: Real load01.running.value:DISCRETE(flow=false start = load01.Running0 fixed = true ) type: Boolean tfo01.running.value:DISCRETE(flow=false start = tfo01.Running0 fixed = true ) type: Boolean tfo01.alphaTfo:DISCRETE(start = tfo01.AlphaTfo0 unit = \"rad\" fixed = true ) \"Transformation phase shift in rad\" type: Real line01.running.value:DISCRETE(flow=false start = line01.Running0 fixed = true ) type: Boolean line02.running.value:DISCRETE(flow=false start = line02.Running0 fixed = true ) type: Boolean shiftController01.running.value:DISCRETE(flow=false start = shiftController01.Running0 fixed = true ) type: Boolean shiftController01.tap.value:DISCRETE(flow=false start = /*Real*/(shiftController01.tap0) fixed = true ) type: Real shiftController01.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"True if the monitored signal is above the maximum limit\" type: Boolean shiftController01.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.tTapUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been increased in s\" type: Real shiftController01.tTapDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been decreased in s\" type: Real shiftController01.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.valueUnderMin:DISCRETE(fixed = true protected = true ) \"True if the monitored signal is under the minimum limit\" type: Boolean shiftController01.state:DISCRETE(min = shiftController01.State.MoveDownN max = shiftController01.State.Locked start = shiftController01.state0 fixed = true ) \"State of the tap-changer/phase-shifter\" type: enumeration(MoveDownN, MoveDown1, WaitingToMoveDown, Standard, WaitingToMoveUp, MoveUp1, MoveUpN, Locked) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.load01.state,load01.state,$PRE.tfo01.state,tfo01.state,$PRE.line01.state,line01.state,$PRE.line02.state,line02.state,$PRE.tfo01.tap.value,tfo01.tap.value,$whenCondition24,shiftController01.switchOffSignal2.value,shiftController01.switchOffSignal1.value,line02.switchOffSignal2.value,line01.switchOffSignal2.value,line02.switchOffSignal1.value,line01.switchOffSignal1.value,tfo01.switchOffSignal2.value,tfo01.switchOffSignal1.value,load01.switchOffSignal2.value,load01.switchOffSignal1.value,$PRE.load01.running.value,$PRE.tfo01.running.value,$PRE.tfo01.alphaTfo,$PRE.line01.running.value,$PRE.line02.running.value,$PRE.shiftController01.running.value,$PRE.shiftController01.tap.value,$PRE.shiftController01.valueAboveMax,$PRE.shiftController01.tValueAboveMaxWhileRunning,$PRE.shiftController01.tTapUp,$PRE.shiftController01.tTapDown,$PRE.shiftController01.tValueUnderMinWhileRunning,$PRE.shiftController01.valueUnderMin,$PRE.shiftController01.state,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueUnderMin,shiftController01.tTapDown,shiftController01.tTapUp,shiftController01.tValueAboveMaxWhileRunning,shiftController01.lookingToDecreaseTap,shiftController01.lookingToIncreaseTap,shiftController01.valueAboveMax,shiftController01.state,shiftController01.locked,shiftController01.tap.value,shiftController01.running.value,line02.running.value,line01.running.value,tfo01.alphaTfo,tfo01.running.value,load01.running.value,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition17,$whenCondition16,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition25,$whenCondition27,$whenCondition26,$whenCondition29,$whenCondition28,$whenCondition31,$whenCondition30,shiftController01.AutomatonExists.value) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006122/0.4395, allocations: 339 kB / 0.6568 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4397, allocations: 99.47 kB / 0.6569 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.4431, allocations: 1.654 MB / 0.6585 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.4431, allocations: 8 kB / 0.6586 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4431, allocations: 4 kB / 0.6586 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4431, allocations: 3.984 kB / 0.6586 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.4476, allocations: 2.527 MB / 0.661 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4476, allocations: 0 / 0.661 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.4479, allocations: 39.92 kB / 0.6611 GB, free: 2.027 MB / 494.1 MB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.4493, allocations: 0.7591 MB / 0.6618 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.4494, allocations: 39.89 kB / 0.6618 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003889/0.4498, allocations: 44.77 kB / 0.6619 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4498, allocations: 3.938 kB / 0.6619 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.4533, allocations: 1.738 MB / 0.6636 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.4534, allocations: 83.38 kB / 0.6637 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.4536, allocations: 47.92 kB / 0.6637 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.4542, allocations: 63.92 kB / 0.6638 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.4545, allocations: 120.8 kB / 0.6639 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.4546, allocations: 67.88 kB / 0.664 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004211/0.455, allocations: 350.8 kB / 0.6643 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.455, allocations: 0 / 0.6643 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008942/0.4559, allocations: 271.8 kB / 0.6645 GB, free: 14.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 53 ($whenCondition30,$whenCondition31,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition25,$whenCondition24,$whenCondition22,$whenCondition23,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition17,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition1,load01.running.value,load01.state,tfo01.running.value,tfo01.state,tfo01.alphaTfo,tfo01.tap.value,line01.running.value,line01.state,line02.running.value,line02.state,shiftController01.running.value,shiftController01.tap.value,shiftController01.locked,shiftController01.state,shiftController01.valueAboveMax,shiftController01.lookingToIncreaseTap,shiftController01.lookingToDecreaseTap,shiftController01.tValueAboveMaxWhileRunning,shiftController01.tTapUp,shiftController01.tTapDown,shiftController01.valueUnderMin,shiftController01.tValueUnderMinWhileRunning) * Number of discrete states: 14 (load01.running.value,tfo01.running.value,line01.running.value,line02.running.value,shiftController01.state,shiftController01.tTapUp,shiftController01.tap.value,shiftController01.tTapDown,shiftController01.running.value,shiftController01.valueUnderMin,tfo01.tap.value,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueAboveMax,shiftController01.tValueAboveMaxWhileRunning) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004025/0.46, allocations: 2.387 MB / 0.6669 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002938/0.4629, allocations: 1.32 MB / 0.6682 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4629, allocations: 0 / 0.6682 GB, free: 10.68 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifterInterval.mo:38:5-38:65:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works) Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3565:9-3565:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{63:76}, {62:77}, {37:78}, {31:18}, {68:53}, {67:54}, {71:17}, {41:66}, {42:33}, {43:89}, {44:34}, {51:97}, {45:98}, {56:69}, {54:70}, {39:71}, {59:72}, {58:73}}, {38, 57, 53, 55, 60, 46, 32, 33, 47, 48, 34, 49, 50, 52, 40, 61, 36, 64, 65, 72, 66, 35, 69, 70:5, 1, 8, 2, 7, 6, 11, 27, 56, 57, 28, 36, 35, 24, 59, 30, 29, 48, 20, 49, 37, 38, 19, 58} Size: 24 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1568:5-1568:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.404904608032666] Failed to read output from testmodel.py, exit status != 0: 0.47269709408283234 0.48644002299999994 0.092860286 Calling exit ...