Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.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.001995/0.001995, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.002883/0.002883, allocations: 218.6 kB / 23.8 MB, free: 4.539 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.461/1.461, allocations: 207.7 MB / 234.7 MB, free: 9.797 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.5967/0.5967, allocations: 103.8 MB / 390.7 MB, free: 21.18 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.SVarC.SVarCModeChange,fileNamePrefix="Dynawo_Dynawo_Examples_SVarC_SVarCModeChange",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SVarC.SVarCModeChange,fileNamePrefix="Dynawo_Dynawo_Examples_SVarC_SVarCModeChange",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.002211/0.002211, allocations: 68.47 kB / 0.547 GB, free: 5.047 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3273, allocations: 76 MB / 0.6213 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.005582/0.3329, allocations: 4.772 MB / 0.6259 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.3367, allocations: 2.83 MB / 0.6287 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.3373, allocations: 19.94 kB / 0.6287 GB, free: 2.742 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/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: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.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/StaticVarCompensators/BaseControls/ModeHandling.mo:34:3-35:199:writable] Warning: Connector mode 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/StaticVarCompensators/BaseControls/ModeHandling.mo:36:3-36:116:writable] Warning: Connector modeAuto 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/StaticVarCompensators/BaseControls/ModeHandling.mo:37:3-37:115:writable] Warning: Connector modeManual 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/StaticVarCompensators/BaseControls/CalculationBG.mo:28:3-29:205:writable] Warning: Connector mode 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/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). Notification: Performance of NFTyping.typeComponents: time 0.000672/0.338, allocations: 202.2 kB / 0.6289 GB, free: 2.543 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.3386, allocations: 270.1 kB / 0.6292 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3401, allocations: 0.9056 MB / 0.63 GB, free: 1.375 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Sources/InjectorBG.mo:40:3-40:78:writable] Error: Parameter sVarCStandard.injector.G0Pu has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Sources/InjectorBG.mo:41:3-41:78:writable] Error: Parameter sVarCStandard.injector.B0Pu has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:49:35-49:96:writable] Error: Parameter loadPQ.u0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:50:35-50:101:writable] Error: Parameter loadPQ.u0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:49:35-49:96:writable] Error: Parameter loadPQ.s0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:50:35-50:101:writable] Error: Parameter loadPQ.s0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:49:35-49:96:writable] Error: Parameter loadPQ.i0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:50:35-50:101:writable] Error: Parameter loadPQ.i0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). Notification: Performance of NFFlatten.flatten: time 0.0009468/0.3411, allocations: 1.245 MB / 0.6313 GB, free: 132 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005044/0.3416, allocations: 303.6 kB / 0.6315 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.3422, allocations: 494.1 kB / 0.632 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.3428, allocations: 0.5054 MB / 0.6325 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.343, allocations: 124 kB / 0.6326 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.3434, allocations: 236 kB / 0.6329 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.3436, allocations: 271.1 kB / 0.6331 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.3441, allocations: 425.8 kB / 0.6335 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.3458, allocations: 1.501 MB / 0.635 GB, free: 12.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3458, allocations: 0 / 0.635 GB, free: 12.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3458, allocations: 0 / 0.635 GB, free: 12.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.3458, allocations: 0 / 0.635 GB, free: 12.29 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: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.004127/0.35, allocations: 1.585 MB / 0.6365 GB, free: 10.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.35, allocations: 12.03 kB / 0.6365 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.837e-05/0.35, allocations: 17.5 kB / 0.6366 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.3502, allocations: 122.7 kB / 0.6367 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.3517, allocations: 304 kB / 0.637 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.3527, allocations: 0.6351 MB / 0.6376 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000392/0.3531, allocations: 0.5188 MB / 0.6381 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3533, allocations: 71.98 kB / 0.6382 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.3551, allocations: 0.9492 MB / 0.6391 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3551, allocations: 0 / 0.6391 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.3552, allocations: 35.92 kB / 0.6391 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3552, allocations: 16 kB / 0.6391 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.3568, allocations: 0.7156 MB / 0.6398 GB, free: 7.102 MB / 478.1 MB 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.004638/0.3614, allocations: 2.839 MB / 0.6426 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3631, allocations: 0.6852 MB / 0.6433 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.3639, allocations: 366.7 kB / 0.6436 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.3639, allocations: 8.656 kB / 0.6436 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.3652, allocations: 0.6738 MB / 0.6443 GB, free: 2.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 3.386e-06/0.3652, allocations: 4 kB / 0.6443 GB, free: 2.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.004594/0.3698, allocations: 1.787 MB / 0.646 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.3699, allocations: 72.39 kB / 0.6461 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.371, allocations: 0.7704 MB / 0.6469 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.3711, allocations: 53.69 kB / 0.6469 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.3714, allocations: 413 kB / 0.6473 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.3717, allocations: 253.9 kB / 0.6476 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.372, allocations: 162.6 kB / 0.6477 GB, free: 14.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3722, allocations: 337.9 kB / 0.648 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008463/0.373, allocations: 381.8 kB / 0.6484 GB, free: 14.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/0.374, allocations: 0.5515 MB / 0.6489 GB, free: 13.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.3782, allocations: 1.744 MB / 0.6506 GB, free: 11.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.3783, allocations: 3.938 kB / 0.6506 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003516/0.3818, allocations: 1.407 MB / 0.652 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3818, allocations: 15.92 kB / 0.652 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3818, allocations: 8 kB / 0.652 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.3828, allocations: 396.6 kB / 0.6524 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.3834, allocations: 111.8 kB / 0.6525 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.3895, allocations: 3.592 MB / 0.656 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3906, allocations: 123.4 kB / 0.6561 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.3906, allocations: 32 kB / 0.6562 GB, free: 5.949 MB / 494.1 MB Warning: Assuming fixed start value for the following 11 variables: loadPQ.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadPQ.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) sVarCStandard.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = sVarCStandard.injector.State0 fixed = true ) \"Injector 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 sVarCStandard.injector.running.value:DISCRETE(flow=false start = sVarCStandard.injector.Running0 fixed = true ) type: Boolean sVarCStandard.modeHandling.timerModeChangeUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for high voltage values\" type: Real sVarCStandard.modeHandling.timerModeChangeDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for low voltage values\" type: Real sVarCStandard.modeHandling.URefAuto:DISCRETE(start = sVarCStandard.modeHandling.URef0 unit = \"kV\" fixed = true ) \"Voltage reference for the regulation if the static var compensator switches from standy to running mode automatically in kV\" type: Real loadPQ.running.value:DISCRETE(flow=false start = loadPQ.Running0 fixed = true ) type: Boolean sVarCStandard.blockingFunction.blocked:DISCRETE(flow=false fixed = true ) \"Whether the static var compensator is blocked due to very low voltages\" type: Boolean sVarCStandard.modeHandling.modeAuto.value:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) type: enumeration(OFF, STANDBY, RUNNING_V) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.loadPQ.state,loadPQ.state,$PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,loadPQ.switchOffSignal2.value,loadPQ.switchOffSignal1.value,sVarCStandard.injector.switchOffSignal3.value,sVarCStandard.injector.switchOffSignal2.value,sVarCStandard.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,$PRE.line.running.value,$PRE.sVarCStandard.injector.running.value,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.loadPQ.running.value,$PRE.selectMode.pulseStart,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto.value,loadPQ.running.value,manualMode.y,manualMode.u[2],manualMode.u[1],selectMode.pulseStart,not1.y,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeManual.value,sVarCStandard.modeHandling.modeAuto.value,sVarCStandard.modeHandling.mode.value,sVarCStandard.injector.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,$whenCondition19,sVarCStandard.regulation.integrator.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007237/0.3914, allocations: 361.8 kB / 0.6565 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.3916, allocations: 107.3 kB / 0.6566 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.3951, allocations: 1.398 MB / 0.658 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3951, allocations: 8 kB / 0.658 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3951, allocations: 0 / 0.658 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3951, allocations: 3.984 kB / 0.658 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.3995, allocations: 2.171 MB / 0.6601 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3995, allocations: 3.984 kB / 0.6601 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.3999, allocations: 71.89 kB / 0.6602 GB, free: 1.762 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.001261/0.4012, allocations: 0.5405 MB / 0.6607 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/0.4012, allocations: 27.86 kB / 0.6608 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002078/0.4015, allocations: 32.83 kB / 0.6608 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4015, allocations: 0 / 0.6608 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.4055, allocations: 1.931 MB / 0.6627 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.4058, allocations: 119.2 kB / 0.6628 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4059, allocations: 19.98 kB / 0.6628 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.4065, allocations: 75.92 kB / 0.6629 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4068, allocations: 96.83 kB / 0.663 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.175e-05/0.4068, allocations: 31.98 kB / 0.663 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007166/0.4076, allocations: 0.5225 MB / 0.6635 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4076, allocations: 0 / 0.6635 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008071/0.4084, allocations: 247.7 kB / 0.6637 GB, free: 14.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (sVarCStandard.regulation.limitations.limIntegratorMax.y,sVarCStandard.regulation.limitations.limIntegratorMin.y,sVarCStandard.regulation.integrator.y) * Number of discrete variables: 37 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,sVarCStandard.injector.running.value,sVarCStandard.injector.state,sVarCStandard.modeHandling.mode.value,sVarCStandard.modeHandling.modeAuto.value,sVarCStandard.modeHandling.modeManual.value,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.URefAuto,sVarCStandard.blockingFunction.blocked,not1.y,selectMode.pulseStart,manualMode.u[1],manualMode.u[2],manualMode.y,loadPQ.running.value,loadPQ.state) * Number of discrete states: 4 (loadPQ.running.value,sVarCStandard.injector.running.value,line.running.value,sVarCStandard.modeHandling.modeAuto.value) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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 {(15,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004783/0.4132, allocations: 2.538 MB / 0.6662 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.416, allocations: 1.189 MB / 0.6674 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.416, allocations: 0.8125 kB / 0.6674 GB, free: 10.34 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/StaticVarCompensators/BaseControls/ModeHandling.mo:54:5-54:29: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{{{46:49}, {65:72}, {63:73}, {62:74}, {54:75}, {49:79}, {47:80}, {44:18}, {45:53}, {61:52}, {35:47}, {36:26}, {37:41}, {38:42}, {60:17}, {29:6}, {66:4}, {31:3}, {34:63}, {41:40}, {40:43}, {39:25}, {53:77}, {50:78}, {58:24}, {56:76}}, {27, 67, 33, 28, 30, 48, 55, 52, 51, 42, 43, 59, 57, 64, 32:19, 21, 20, 16, 23, 44, 31, 7, 62, 46, 45, 55, 54, 61, 60} Size: 15 [/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.3570422420743853] Failed to read output from testmodel.py, exit status != 0: 0.4256548989797011 0.44118388699999994 0.09220184099999994 Calling exit ...