Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001789/0.001789, allocations: 96.36 kB / 20.46 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.002071/0.002071, allocations: 217.8 kB / 23.77 MB, free: 4.52 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.765/1.765, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7327/0.7327, allocations: 115.8 MB / 402.6 MB, free: 16.06 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.SVarC.SVarCModeChange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=388,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange") translateModel(Dynawo.Examples.SVarC.SVarCModeChange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=388,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCModeChange") [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.002349/0.002349, allocations: 74.16 kB / 0.5651 GB, free: 44.67 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1943, allocations: 79 MB / 0.6422 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.008253/0.2026, allocations: 4.41 MB / 0.6465 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.2084, allocations: 2.752 MB / 0.6492 GB, free: 9.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.209, allocations: 15.94 kB / 0.6492 GB, free: 9.348 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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). Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.2098, allocations: 182.5 kB / 0.6494 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.2105, allocations: 234.3 kB / 0.6496 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.2126, allocations: 0.8745 MB / 0.6505 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.214, allocations: 1.12 MB / 0.6516 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.2145, allocations: 267.3 kB / 0.6518 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.2151, allocations: 438.2 kB / 0.6523 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.2157, allocations: 401.8 kB / 0.6526 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.2158, allocations: 116 kB / 0.6528 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.2163, allocations: 223.9 kB / 0.653 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.2165, allocations: 239.2 kB / 0.6532 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.2169, allocations: 386 kB / 0.6536 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.2187, allocations: 1.382 MB / 0.6549 GB, free: 3.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2187, allocations: 4 kB / 0.6549 GB, free: 3.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2187, allocations: 0 / 0.6549 GB, free: 3.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2187, allocations: 0 / 0.6549 GB, free: 3.504 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003916/0.2226, allocations: 1.446 MB / 0.6563 GB, free: 2.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.2227, allocations: 8.922 kB / 0.6563 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.224, allocations: 272.1 kB / 0.6566 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2251, allocations: 0.6041 MB / 0.6572 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.2255, allocations: 412 kB / 0.6576 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.2256, allocations: 68.09 kB / 0.6576 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.2273, allocations: 0.8506 MB / 0.6585 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2273, allocations: 0 / 0.6585 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.2273, allocations: 31.98 kB / 0.6585 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.2274, allocations: 16 kB / 0.6585 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2288, allocations: 0.6336 MB / 0.6591 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.2332, allocations: 2.551 MB / 0.6616 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.2348, allocations: 0.6021 MB / 0.6622 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.2355, allocations: 326 kB / 0.6625 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.2356, allocations: 16.34 kB / 0.6625 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.2367, allocations: 0.599 MB / 0.6631 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/0.2367, allocations: 0 / 0.6631 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.003831/0.2406, allocations: 1.464 MB / 0.6646 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.2407, allocations: 68 kB / 0.6646 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/0.2417, allocations: 0.6527 MB / 0.6653 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-05/0.2417, allocations: 49.7 kB / 0.6653 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.2421, allocations: 384.9 kB / 0.6657 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.2424, allocations: 222.2 kB / 0.6659 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.2426, allocations: 134.6 kB / 0.666 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.2429, allocations: 394.7 kB / 0.6664 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.2436, allocations: 329.9 kB / 0.6667 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/0.2445, allocations: 472.2 kB / 0.6672 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.2484, allocations: 1.502 MB / 0.6686 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.2484, allocations: 4 kB / 0.6686 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003127/0.2515, allocations: 1.2 MB / 0.6698 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.2516, allocations: 9.875 kB / 0.6698 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2516, allocations: 4 kB / 0.6698 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000835/0.2524, allocations: 320.9 kB / 0.6701 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.2529, allocations: 103.8 kB / 0.6702 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.2584, allocations: 3.093 MB / 0.6732 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.2592, allocations: 107.6 kB / 0.6733 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.2592, allocations: 24 kB / 0.6734 GB, free: 72 kB / 0.4981 GB Warning: Assuming fixed start value for the following 9 variables: 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 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: 16 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,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.selectMode.pulseStart,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto.value,manualMode.y,manualMode.u[2],manualMode.u[1],not1.y,selectMode.pulseStart,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,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 (81): * Single equations (assignments): 80 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006699/0.2599, allocations: 317.1 kB / 0.6737 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.26, allocations: 83.48 kB / 0.6737 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.2629, allocations: 1.15 MB / 0.6749 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.2629, allocations: 3.984 kB / 0.6749 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2629, allocations: 0 / 0.6749 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.2631, allocations: 95.31 kB / 0.675 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2632, allocations: 16 kB / 0.675 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.2637, allocations: 75.91 kB / 0.675 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.2639, allocations: 88.52 kB / 0.6751 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003715/0.2677, allocations: 1.333 MB / 0.6764 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002907/0.2706, allocations: 1.439 MB / 0.6778 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008308/0.2714, allocations: 373 kB / 0.6782 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006741/0.2721, allocations: 447.1 kB / 0.6786 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of Backend: time 6.51e-07/0.2721, allocations: 0 / 0.6786 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.2746, allocations: 0.8168 MB / 0.6794 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003319/0.278, allocations: 2.114 MB / 0.6815 GB, free: 7.629 MB / 0.5137 GB [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 2: time >= selectMode.pulseStart and time < selectMode.pulseStart + selectMode.Twidth. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 4: sVarCStandard.regulation.limitations.limIntegratorMin.y < sVarCStandard.regulation.limitations.limIntegratorMin.outMin and sVarCStandard.regulation.limitations.limIntegratorMin.k * sVarCStandard.regulation.limitations.add2.y < 0.0 or sVarCStandard.regulation.limitations.limIntegratorMin.y > sVarCStandard.regulation.limitations.limIntegratorMin.outMax and sVarCStandard.regulation.limitations.limIntegratorMin.k * sVarCStandard.regulation.limitations.add2.y > 0.0. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 5: sVarCStandard.regulation.limitations.limIntegratorMax.y < sVarCStandard.regulation.limitations.limIntegratorMax.outMin and sVarCStandard.regulation.limitations.limIntegratorMax.k * sVarCStandard.regulation.limitations.add1.y < 0.0 or sVarCStandard.regulation.limitations.limIntegratorMax.y > sVarCStandard.regulation.limitations.limIntegratorMax.outMax and sVarCStandard.regulation.limitations.limIntegratorMax.k * sVarCStandard.regulation.limitations.add1.y > 0.0. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 10: (time - sVarCStandard.modeHandling.timerModeChangeUp >= sVarCStandard.modeHandling.tThresholdUp or time - sVarCStandard.modeHandling.timerModeChangeDown >= sVarCStandard.modeHandling.tThresholdDown) and pre(sVarCStandard.modeHandling.modeAuto.value) == Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.STANDBY. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 12: sVarCStandard.injector.UPu < sVarCStandard.blockingFunction.UUnblockUpPu and sVarCStandard.injector.UPu > sVarCStandard.blockingFunction.UUnblockDownPu. Error: Internal error SimCode DAEmode: The model Dynawo.Examples.SVarC.SVarCModeChange could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.267132956068963] Failed to read output from testmodel.py, exit status != 0: 0.30974961491301656 0.32529537599999997 0.10329829900000001 Calling exit ...