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.001875/0.001875, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002473/0.002473, allocations: 214.2 kB / 23.01 MB, free: 4.992 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.469/1.469, allocations: 207.7 MB / 233.9 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.6408/0.6408, allocations: 103.8 MB / 389.9 MB, free: 21.19 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SVarC.SVarCModeChange,fileNamePrefix="Dynawo_Dynawo_Examples_SVarC_SVarCModeChange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 72.33 kB / 0.5463 GB, free: 5.02 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3748, allocations: 75.99 MB / 0.6205 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.005364/0.3802, allocations: 4.772 MB / 0.6252 GB, free: 5.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3838, allocations: 2.838 MB / 0.6279 GB, free: 2.441 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.3842, allocations: 23.88 kB / 0.628 GB, free: 2.418 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.0005363/0.3847, allocations: 202.2 kB / 0.6282 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.3852, allocations: 270.1 kB / 0.6284 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.3866, allocations: 0.9025 MB / 0.6293 GB, free: 1.055 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.0009644/0.3876, allocations: 1.241 MB / 0.6305 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.3881, allocations: 283.6 kB / 0.6308 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.3886, allocations: 494.1 kB / 0.6313 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.3892, allocations: 449.5 kB / 0.6317 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3894, allocations: 128 kB / 0.6318 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.3897, allocations: 232 kB / 0.632 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.39, allocations: 271.1 kB / 0.6323 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.3904, allocations: 433.8 kB / 0.6327 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.3921, allocations: 1.497 MB / 0.6342 GB, free: 12.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3921, allocations: 0 / 0.6342 GB, free: 12.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3921, allocations: 0 / 0.6342 GB, free: 12.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.3921, allocations: 4 kB / 0.6342 GB, free: 12.05 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.004018/0.3961, allocations: 1.585 MB / 0.6357 GB, free: 10.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3962, allocations: 8.031 kB / 0.6357 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.3964, allocations: 126.7 kB / 0.6358 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3978, allocations: 300 kB / 0.6361 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3989, allocations: 0.6351 MB / 0.6367 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004734/0.3994, allocations: 0.5112 MB / 0.6372 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3996, allocations: 75.92 kB / 0.6373 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.4015, allocations: 0.953 MB / 0.6382 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.4015, allocations: 4 kB / 0.6383 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.4016, allocations: 31.94 kB / 0.6383 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.4016, allocations: 23.98 kB / 0.6383 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4033, allocations: 0.7117 MB / 0.639 GB, free: 6.879 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.004752/0.408, allocations: 2.835 MB / 0.6418 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.4097, allocations: 0.6739 MB / 0.6424 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.4105, allocations: 370.7 kB / 0.6428 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.4106, allocations: 12.64 kB / 0.6428 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.4119, allocations: 0.6661 MB / 0.6434 GB, free: 2.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 7.864e-06/0.4119, allocations: 4 kB / 0.6434 GB, free: 2.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.00456/0.4165, allocations: 1.791 MB / 0.6452 GB, free: 428 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.4166, allocations: 68.41 kB / 0.6453 GB, free: 348 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4177, allocations: 0.7743 MB / 0.646 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.4177, allocations: 53.69 kB / 0.6461 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.4181, allocations: 420.9 kB / 0.6465 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.4184, allocations: 261.9 kB / 0.6467 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.4187, allocations: 162.6 kB / 0.6469 GB, free: 14.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4189, allocations: 334 kB / 0.6472 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008647/0.4198, allocations: 385.8 kB / 0.6476 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009784/0.4207, allocations: 0.5438 MB / 0.6481 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004204/0.4249, allocations: 1.744 MB / 0.6498 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4249, allocations: 11.88 kB / 0.6498 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003421/0.4284, allocations: 1.403 MB / 0.6512 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4284, allocations: 8 kB / 0.6512 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4284, allocations: 7.984 kB / 0.6512 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.4294, allocations: 400.7 kB / 0.6516 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.4299, allocations: 119.7 kB / 0.6517 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00649/0.4364, allocations: 3.591 MB / 0.6552 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/0.4372, allocations: 119.5 kB / 0.6553 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.4372, allocations: 32 kB / 0.6553 GB, free: 5.734 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.0006912/0.4379, allocations: 361.6 kB / 0.6557 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.4381, allocations: 107.3 kB / 0.6558 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.4416, allocations: 1.394 MB / 0.6571 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.4416, allocations: 11.98 kB / 0.6572 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.4416, allocations: 0 / 0.6572 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4416, allocations: 3.984 kB / 0.6572 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.4459, allocations: 2.171 MB / 0.6593 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4459, allocations: 0 / 0.6593 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.4462, allocations: 71.89 kB / 0.6594 GB, free: 1.551 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.001281/0.4475, allocations: 0.5483 MB / 0.6599 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.4476, allocations: 19.98 kB / 0.6599 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002194/0.4478, allocations: 36.73 kB / 0.6599 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4478, allocations: 3.984 kB / 0.6599 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.4519, allocations: 1.927 MB / 0.6618 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.4521, allocations: 115.2 kB / 0.6619 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4523, allocations: 23.92 kB / 0.662 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.4529, allocations: 75.92 kB / 0.662 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.4531, allocations: 96.83 kB / 0.6621 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.4532, allocations: 31.98 kB / 0.6622 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007657/0.454, allocations: 0.5225 MB / 0.6627 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.454, allocations: 0 / 0.6627 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008576/0.4548, allocations: 243.7 kB / 0.6629 GB, free: 13.89 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.004739/0.4596, allocations: 2.535 MB / 0.6654 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.4624, allocations: 1.192 MB / 0.6665 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4624, allocations: 0.8125 kB / 0.6665 GB, free: 10.12 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:3566:9-3566: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:1569:5-1569:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.5008037951774895] Failed to read output from testmodel.py, exit status != 0: 0.47376071009784937 0.491363895 0.09578265500000001 Calling exit ...