Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.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.001618/0.001618, 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.001937/0.001937, allocations: 212.3 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.577/1.577, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.6883/0.6883, allocations: 115.9 MB / 402 MB, free: 16.03 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: "" <> buildModelFMU(Dynawo.Examples.SVarC.SVarCFaultImp,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SVarC_SVarCFaultImp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SVarC.SVarCFaultImp,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SVarC_SVarCFaultImp",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.002265/0.002265, allocations: 72.34 kB / 0.564 GB, free: 44.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1563, allocations: 79.04 MB / 0.6412 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.006988/0.1633, allocations: 4.386 MB / 0.6455 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.1685, allocations: 2.693 MB / 0.6481 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006176/0.1691, allocations: 19.88 kB / 0.6481 GB, free: 9.691 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/NodeFault.mo:24:3-24:107:writable] Warning: Connector nodeFault 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.0006867/0.1698, allocations: 182.5 kB / 0.6483 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.1705, allocations: 226.3 kB / 0.6485 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1725, allocations: 0.8696 MB / 0.6494 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.1738, allocations: 1.111 MB / 0.6505 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.1743, allocations: 263.1 kB / 0.6507 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.1748, allocations: 430.4 kB / 0.6511 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.1753, allocations: 389.8 kB / 0.6515 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.1755, allocations: 116 kB / 0.6516 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.1759, allocations: 223.9 kB / 0.6518 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1761, allocations: 235.2 kB / 0.652 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.1765, allocations: 370 kB / 0.6524 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1782, allocations: 1.362 MB / 0.6537 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1782, allocations: 4 kB / 0.6537 GB, free: 3.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1782, allocations: 0 / 0.6537 GB, free: 3.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1782, allocations: 0 / 0.6537 GB, free: 3.938 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003573/0.1818, allocations: 1.424 MB / 0.6551 GB, free: 2.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1818, allocations: 16.91 kB / 0.6551 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.182, allocations: 106.7 kB / 0.6552 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1834, allocations: 276.1 kB / 0.6555 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1844, allocations: 0.58 MB / 0.6561 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.1848, allocations: 463.4 kB / 0.6565 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.185, allocations: 75.88 kB / 0.6566 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.1866, allocations: 0.832 MB / 0.6574 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1866, allocations: 0 / 0.6574 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.1867, allocations: 27.98 kB / 0.6574 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1867, allocations: 16 kB / 0.6574 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.188, allocations: 0.6102 MB / 0.658 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/0.1924, allocations: 2.702 MB / 0.6607 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.1939, allocations: 0.606 MB / 0.6613 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.1946, allocations: 314 kB / 0.6616 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.1946, allocations: 8.438 kB / 0.6616 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.1958, allocations: 0.6293 MB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.325e-06/0.1958, allocations: 4 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70): time 0.004121/0.1999, allocations: 1.539 MB / 0.6637 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.2, allocations: 93.77 kB / 0.6638 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.201, allocations: 0.7192 MB / 0.6645 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/0.2011, allocations: 45.69 kB / 0.6645 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.2014, allocations: 373.1 kB / 0.6649 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.2017, allocations: 214.3 kB / 0.6651 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.2019, allocations: 126.6 kB / 0.6652 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2021, allocations: 342 kB / 0.6655 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.2029, allocations: 321.9 kB / 0.6658 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.2038, allocations: 0.4918 MB / 0.6663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.2077, allocations: 1.503 MB / 0.6678 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.2077, allocations: 4 kB / 0.6678 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003413/0.2111, allocations: 1.231 MB / 0.669 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2112, allocations: 11.98 kB / 0.669 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2112, allocations: 7.938 kB / 0.669 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/0.2121, allocations: 388.2 kB / 0.6694 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.2125, allocations: 87.77 kB / 0.6695 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.2187, allocations: 3.456 MB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.2194, allocations: 103.6 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.2194, allocations: 28 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Warning: Assuming fixed start value for the following 10 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 nodeFault.nodeFault.value:DISCRETE(flow=false start = false 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: 17 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,$whenCondition17,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.nodeFault.nodeFault.value,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto.value,sVarCStandard.modeHandling.modeManual.value,nodeFault.nodeFault.value,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,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 (78): * Single equations (assignments): 77 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006437/0.2201, allocations: 297.6 kB / 0.6733 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2202, allocations: 91.41 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.223, allocations: 1.155 MB / 0.6745 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.223, allocations: 12 kB / 0.6745 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.223, allocations: 3.984 kB / 0.6745 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.223, allocations: 3.984 kB / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.2271, allocations: 1.996 MB / 0.6764 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2271, allocations: 0 / 0.6764 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.2274, allocations: 47.91 kB / 0.6765 GB, free: 11.94 MB / 0.5137 GB 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.001207/0.2286, allocations: 0.5388 MB / 0.677 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.2286, allocations: 15.98 kB / 0.677 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002035/0.2288, allocations: 28.83 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2288, allocations: 4 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/0.2328, allocations: 1.763 MB / 0.6788 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.233, allocations: 103.3 kB / 0.6789 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2331, allocations: 16 kB / 0.6789 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.2336, allocations: 67.86 kB / 0.679 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.2339, allocations: 88.45 kB / 0.679 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.2339, allocations: 23.98 kB / 0.6791 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007398/0.2347, allocations: 0.4912 MB / 0.6795 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2347, allocations: 0 / 0.6795 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008191/0.2355, allocations: 203.8 kB / 0.6797 GB, free: 8.586 MB / 0.5137 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: 28 ($whenCondition16,$whenCondition17,$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.timerModeChangeUp,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.URefAuto,sVarCStandard.blockingFunction.blocked,nodeFault.nodeFault.value) * Number of discrete states: 3 (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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00468/0.2402, allocations: 2.353 MB / 0.682 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.2427, allocations: 1.028 MB / 0.683 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2427, allocations: 0 / 0.683 GB, free: 5.16 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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{{{44:37}, {54:60}, {52:61}, {51:62}, {35:63}, {30:67}, {24:68}, {48:7}, {47:40}, {43:41}, {20:35}, {21:14}, {22:29}, {23:30}, {42:6}, {46:3}, {19:2}, {27:28}, {28:31}, {29:13}, {34:65}, {31:66}, {39:12}, {37:64}}, {25, 36, 33, 32, 41, 38, 53, 16, 18, 17, 45, 50, 49, 40, 26:8, 10, 9, 5, 11, 32, 19, 50, 51, 34, 33, 43, 48, 49, 42} 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.882004256825894] Failed to read output from testmodel.py, exit status != 0: 0.2518686023540795 0.26723992900000004 0.08588174900000001 Calling exit ...